Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all articles
Browse latest Browse all 10032

Post multiple Line in One shot

$
0
0
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.
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

Viewing all articles
Browse latest Browse all 10032

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>