Dear Sir,
I have created multiple Lines thru code & now I want to Post the same in a Single Shot thru code itself.
How to Do it ?
Code given below for your review.
The above code posts only the First Line. What is the issue in the above code.
Kindly reply.
Regards,
navuser1
I have created multiple Lines thru code & now I want to Post the same in a Single Shot thru code itself.
How to Do it ?
Code given below for your review.
IF RecordAVR.FINDSET THEN
REPEAT
GenJnlLine2.INIT
....
....
....
UNTIL RecordVAR.NEXT =0;
CODEUNIT.RUN(CODEUNIT::"Gen. Jnl.-Post Line", GenJnlLine2); //GenJnlLine2 has multiple Lines
The above code posts only the First Line. What is the issue in the above code.
Kindly reply.
Regards,
navuser1