Document Additional Approver

sajidhanifkhansajidhanifkhan Member Posts: 182
Hi,

I have defined additional approver in the sales quote with sequence No provided automatically by the system. But instead of following the sequence number in additional approver form it is following the Approval ID as Alphabetic Order. Can any one tell me why it is not following the sequence No? Or what should be the procedure that system should follow the sequence no rather than following alphabetical approver ID order.

Regards,
Sajid

Answers

  • DaveTDaveT Member Posts: 1,039
    Hi Sajid


    Can you check if you have a modified version of the Approvals Management codeunit 439. The function InsertAddApprovers should set the key to Sequence No.

    i.e.

    AddApprovers.SETCURRENTKEY("Sequence No.");
    Dave Treanor

    Dynamics Nav Add-ons
    http://www.simplydynamics.ie/Addons.html
  • sajidhanifkhansajidhanifkhan Member Posts: 182
    Hi Dave,

    Thanks for your reply. No we did not changed any standard functionality and what you mentioned was there already. But Now we have solved the problem. We added the following code Line in (shown in color below) in all placess where it was checking Additional approver.

    CheckAddApprovers(AppTemplate);
    AddApproversTemp.SETCURRENTKEY(AddApproversTemp."Sequence No."); IF AddApproversTemp.FIND('-') THEN REPEAT
    ApproverId := AddApproversTemp."Approver ID";

    Problem is solved. Thank again for your input.

    Regards,
  • DaveTDaveT Member Posts: 1,039
    Glad to Help :mrgreen:
    Dave Treanor

    Dynamics Nav Add-ons
    http://www.simplydynamics.ie/Addons.html
Sign In or Register to comment.