web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Item number must be specified

(0) ShareShare
ReportReport
Posted on by 70

I want to insert data to Movement Journal through a custom form. I decided to test it using the runnable class. However, I'm getting "ItemId must be specified" even though I specified the value of ItemId on the code. How can I fix this? Or is there a better way of inserting data to a Movement Journal using a custom form?

Screenshot-2023_2D00_04_2D00_11-092814.jpg

I have the same question (0)
  • Suggested answer
    Komi Siabi Profile Picture
    13,049 Most Valuable Professional on at
    RE: Item number must be specified

    Hello ccobasi,

    You are inserting into InventTable.

    InventTable.itemId, instead of InventTrans.itemId

  • Suggested answer
    BillurSamdancioglu Profile Picture
    19,280 Most Valuable Professional on at
    RE: Item number must be specified

    Hi,

    I think it should not be ItemTable.Itemid but should be InventJournalTrans.Itemid

  • Mohit Rampal Profile Picture
    12,563 Moderator on at
    RE: Item number must be specified

    You have mapped ItemId on InventTable, that's why you would be getting error.

  • ccobasi Profile Picture
    70 on at
    RE: Item number must be specified

    I have replace inventTable with inventJournalTrans. However, I'm getting "update have been cancelled" and "item number does not exist".

  • Mohit Rampal Profile Picture
    12,563 Moderator on at
    RE: Item number must be specified

    Hi, Please close this thread as we are discussing above issue in new thread.

    community.dynamics.com/.../update-have-been-canceled

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 756 Super User 2025 Season 2

#2
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 678

#3
Martin Dráb Profile Picture

Martin Dráb 526 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans