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

Announcements

News and Announcements icon
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,246 Most Valuable Professional on at

    Hello ccobasi,

    You are inserting into InventTable.

    InventTable.itemId, instead of InventTrans.itemId

  • Suggested answer
    BillurSamdancioglu Profile Picture
    21,393 Most Valuable Professional on at

    Hi,

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

  • Mohit Rampal Profile Picture
    12,573 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,573 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
SajeedMullaji Profile Picture

SajeedMullaji 366

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 289 Super User 2026 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 260 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans