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
0
Answers
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.");
Dynamics Nav Add-ons
http://www.simplydynamics.ie/Addons.html
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,
Dynamics Nav Add-ons
http://www.simplydynamics.ie/Addons.html