Balance Due (LCY) in Check Credit Limit Form

vijay_gvijay_g Member Posts: 884
hi folk,
In the sales order and invoice when we have select customer then it prompt a form(Check Credit Limit) in case if same customer balance has crossed to credit limit or he has Balance Due.
so here the Balance Due Calculation function is...
CalcOverduebalanceLCY()
IF GETFILTER("Date Filter") = '' THEN
  SETFILTER("Date Filter",'..%1',WORKDATE);
CALCFIELDS("Balance Due (LCY)");

In my case i have defined a customize field "Grace Period" type Dateformula in customer table. now i want to include this period in due date.
means if a invoice has due date 01-04-2010(dd-mm-yy) and grace period is 15D then the due date should be 16-04-2010.
so in CalcOverduebalanceLCY() function what customize i have to do?

Comments

  • FDickschatFDickschat Member Posts: 380
    You will find a good explanation how to code it by looking up CALCDATE in NAVs CSide Ref Guide (Help).
    Frank Dickschat
    FD Consulting
Sign In or Register to comment.