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!
0
Comments
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