Hello everyone!
My customer has to post item journal lines periodically. I create a report that it reads some lines and it creates records in to Item Journal Line table. I'd like to post these records but I do not want that the Dialogue will appear " Do you want to post these lines or not"..
I know about the GUIAllowed Function. The codeunit which i m calling is "Item Jnl.-POST".
Can i call like this
IF GUIALLOWED THEN
CODEUNIT.RUN(CODEUNIT::"Item Jnl.-Post", ItemJournalLine);
Does the above code does not popup messages?
Thank you for your replies.
My customer has to post item journal lines periodically. I create a report that it reads some lines and it creates records in to Item Journal Line table. I'd like to post these records but I do not want that the Dialogue will appear " Do you want to post these lines or not"..
I know about the GUIAllowed Function. The codeunit which i m calling is "Item Jnl.-POST".
Can i call like this
IF GUIALLOWED THEN
CODEUNIT.RUN(CODEUNIT::"Item Jnl.-Post", ItemJournalLine);
Does the above code does not popup messages?
Thank you for your replies.