if multiple journal voucher lines are posted then it should check for approvement of narration for each line posted
in default it only checks for first line and all the lines in voucher are posted
i tried to modify in 439 code unit but not working..
0
Comments
this might help some one
on Post Of journal To check all the Voucher has Narration
IF GenJnlLine_gRec.FINDSET THEN BEGIN
REPEAT
IF ApprovalMgmt_gCdu.PrePostVouchApprovalCheck_gFnc(GenJnlLine_gRec) THEN;
UNTIL GenJnlLine_gRec.NEXT=0;
CODEUNIT.RUN(CODEUNIT::"Gen. Jnl.-Post",Rec);
CurrentJnlBatchName := GETRANGEMAX("Journal Batch Name");
CurrPage.UPDATE(FALSE);
END;