Quantcast
Channel: Dynamics 365 Business Central/NAV User Group
Viewing all articles
Browse latest Browse all 11285

Forum Post: RE: Call function with button

$
0
0
I have it now like this: IF Rec.FINDFIRST THEN; Rec.SETRANGE("Parent Item No.","Parent Item No."); Rec.SETRANGE("Item No.","Item No."); MESSAGE('Date is ok'); IF (TODAY >= BeginDate) AND (TODAY <= EndDate) THEN BEGIN MESSAGE('Dat is fine'); RecSalesHeaderQuote.FncCheckBOM(SalesLines.Description); MESSAGE(FORMAT(BeginDate)); MESSAGE(SalesLines.Description); END; So it hits MESSAGE('Date is ok'); so I add a watch on BeginDate. Than I see that BeginDate = ""

Viewing all articles
Browse latest Browse all 11285

Trending Articles