Options

Automatic Register Gen. Jnl.-Post BATCH

uri84uri84 Member Posts: 30
edited 2013-04-24 in NAV Three Tier
Hi,

I'm Trying to create a report that creates lines in Gen. Journal Line, it's OK
but now i put a boolean var, in the page of this report to do the automatic register of this lines if the value is True.

how can i do this... i think that it will be something like that?


CODEUNIT.RUN(CODEUNIT::"Gen. Jnl.-Post Batch",Rec); ..?
Somebody can help me?

Thanks!

Comments

  • Options
    bsturzobsturzo Member, Microsoft Employee Posts: 29
    Hi,

    you need to set a filter on rec on the boolean field you added.
    E.g. SETRANGE("Ready To Post",TRUE);
    CODEUNIT.RUN(CODEUNIT::"Gen. Jnl.-Post Batch",Rec);


    Bogdan
Sign In or Register to comment.