web
You’re offline. This is a read only version of the page.
close

IsEmpty - Add optional parameters that can be used to set the key fields to filter on


When using AL there is a lot of code that does a check for existence of a record.

if not SalesLine.Get(DocumentType, DocumentNo, LineNo) then exit;


best practice for optimising code the suggestion is to use this

SalesLine.SetRange("Document Type",DocumentType);

...

Read more...
1 Comments

Read more...
1 Comments

Category: Development (1459)

STATUS DETAILS
New