Sales Prepayment Test Report in NAV Version 2009

Vineeth.RVineeth.R Member Posts: 121
Dear Friends,

When i print the Pre-Payment Sales Test report, i find that the GST specification portion is showing wrong amount. Please see attached. The 7% gst should be 2.8 but it shows 2.62. Due to this the GST specification section is also wrong.

It works well in Version 5 and 2013. Only 2009, 2009SP1 and 2009 R2 is affected.

Please advise if there is a fix for this.
Thanks and Regards
Vineeth.R

Comments

  • Vineeth.RVineeth.R Member Posts: 121
    Hi Guys,

    I managed to fix the issue. the problem was with the 'CalcVATAmountLines' function in the 'Sales-Post Prepayments' codeunit.
    I copied the same function from Version 5 to 2009 and renamed the function to 'CalcVATAmountLines2' and called it in report
    'Pre-Payment Sales Test' and 'Order confirmation' report as well where the GST was showing wrong in the report.

    thanks
    Vineeth
    Thanks and Regards
    Vineeth.R
Sign In or Register to comment.