Hi everyone,
I want to delete one record in custom table with name ImportSalesPRiceParameters and filed Journalname.
This is my classDeclaration:
public class Test
{
ImportSalesPRiceParameters ispp;
}
Here is get method:
[
SRSReportDataSetAttribute(tableStr(ImportSalesPRiceParameters))
]
public ImportSalesPRiceParameters getISPP()
{
select ispp;
return ispp;
}
Delete method:
public void deleteFromISPP()
{
select pda where ispp.JournalName == 'SalesCRM' && ispp.dataAreaId == '110';
ispp.delete();
}
This is field in SQL:

In other languages like C# I can write
if(ImportSalesPRiceParameters.Any())
{
//delete record or make it null value;
}
I want Journalname to assigned null value.How to make it with X++
*This post is locked for comments
I have the same question (0)