Hi friends,
I am having doubt in date calculation i want to send a mail after completed 5 days of due date, but i now how to calculate please can any tell any suggestions.
this is my code, i have taken due date from customer ledger entry table in my codeunit i need to send a mail after completed of 5 days i i dont have any idea about that. please tell me how to achieve this.
cust.RESET;
customerLedgerTable.RESET;
customerLedgerTable.SETRANGE("Customer No.",No);
IF customerLedgerTable.FIND THEN
test := customerLedgerTable."Due Date";
EVALUATE(datetest,'5D');
datecalculation := test '+'+datetest;
UNTIL customerLedgerTable.NEXT =0;
Thank you
*This post is locked for comments
I have the same question (0)