I trying to use a runnable class to post on a journal, but I'm getting Item number must be specified. Please I need help. Thanks.
Hi, Do you want to execute this code in legal entity DAT. If not then either change the company of project or run this runnable class from the correct legal entity.
ItemId would be in another legal entity, that might be the reason for this error.
community.dynamics.com/.../running-runnable-class-through-url-in-dynamics-365-for-operations
Also, may I know why ItemId mapped in LedgerJournalTrans and the one specified to initFromInventTable statement is different.
Does Item **123 really exist in the system ?
André Arnaud de Cal...
291,996
Super User 2025 Season 1
Martin Dráb
230,853
Most Valuable Professional
nmaenpaa
101,156