Hi Readers!
I would like to know how to calculate due date automatically on created form in X++.
I created new dialog form which can enter TransDate and DueDate. I would like DueDate to be calculated based on the modified TransDate.
This dialog form was created for report parameter.
For example, if I change transdate value, dudate would be calculated automatically.The way to calculate is based on paymterm table.
However, I could not find any method of due date calculation based on the transdate on created dialog form.
Those forms just use for printout report, so even though transdate and duedate on created dialog form are updated, the table, custtrans, should not updated. Just I want to show those updated transdate and duedate value on the report tempolary.
Does anybody know which method should I use and how to use the method to solve this?
Thank you for your help.