Due Date Calculation

Currently due date is calculated from the date of Invoice Posting Date. If we have GRN Date (goods receipt Note Date) different from Invoice Posting date and we want to calculate Due Date from the date of GRN , is it possible

Hi Premjeet,

By default Due Date is calculated based on Document Date.
Since i don’t expect that there always are the same gap between Document Date and GRN Date (so you could simply take it into consideration when defining the dateformula) then i don’t see any way to obtain this, without doing some coding.

You have to modify the way Due Date is calculated, and this is done in the OnValidate-trigger of the Payment Terms Code field of the Sales Header Table.

Thank You Sir,

I got your point.