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

Notifications

Announcements

No record found.

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,089 Most Valuable Professional on at

    Hello ccobasi,

    You are inserting into InventTable.

    InventTable.itemId, instead of InventTrans.itemId

  • Suggested answer
    BillurSamdancioglu Profile Picture
    19,698 Most Valuable Professional on at

    Hi,

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

  • Mohit Rampal Profile Picture
    12,565 Moderator on at

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

  • ccobasi Profile Picture
    70 on at

    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,565 Moderator on at

    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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 683 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 398 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans