Invoice Rouding with Authoziation

visheshvishesh Member Posts: 60
Hi all,
I am suffering from an issue of Invoice rounding.
I have a sales order which is autorized and i have set the invoice rounding in GL Setup.
Now if I go to the sale order and press F9 for Statistics I get an error saying Authorization must be no in Sales order.
This is because system is inserting the new line in database for G/L Account.
Same error I am getting if I am post this sales order.

Please help me in solving this issue. Is there any correction which is to be done.

Thanks and Regards.
Vishesh
Vishesh Singh
Technical Consultant

Comments

  • visheshvishesh Member Posts: 60
    Please help me in this issue.
    I am not getting any hint whether this is a problem with a base or we r missing out something.

    Thanks and Regards.
    Vishesh Singh
    Technical Consultant
  • bappaditya44bappaditya44 Member Posts: 14
    In table 37 in function TestStatusOpen function use the following code


    IF NOT "System-Created Entry" THEN
    TestStatusAuthorized;
    IF StatusCheckSuspended THEN
    EXIT;
    GetSalesHeader;
    IF Type IN [Type::Item,Type::"Fixed Asset"] THEN
    SalesHeader.TESTFIELD(Status,SalesHeader.Status::Open);

    add only red coloured line and check the functionality.
Sign In or Register to comment.