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

Combining Creation of new items using SQL taUpdateCreateItemRcd and ensuring Pricing Record Creation IV00108

(0) ShareShare
ReportReport
Posted on by 92

We've written procedures to leverage the built-in GP procedure taUpdateCreateItemRcd to create new items dynamically.  I'm trying to understand if there is a way to ensure that a corresponding record gets created in IV00108 (Item Price List) using existing currency, etc..  We can do it by pulling the new items from IV00101 and forcing the creating in the IV00107 andIV00108 tables, but I think it would be better to leverage the GP procedures for doing this.  Thank you.

- Nick

Categories:
I have the same question (0)
  • Suggested answer
    Josh Page Profile Picture
    Microsoft Employee on at

    The two EConnect procs that you need to create the item price list are below.

    taIVCreateItemPriceListHeader

    taIVCreateItemPriceListLine

    You would need to import the item with EConnect and then you would use the two above to create the pricelist for the item.

  • NCOPP Profile Picture
    92 on at
    I am following up on this post. I am now back in a position where I would like to call both the taUpdateCreateItemRcd and both

    taIVCreateItemPriceListHeader and taIVCreateItemPriceListLine. I've created a script that will call all three and I've placed it into a transaction. Before rolling back, I'm looking at the tables to see if my new test item has been added and it has not.

    So, I've commented the Price List proc calls and am looking only at taUpdateCreateItemRcd. I notice that it does not throw an error but the @O_iErrorState and @oErrString outputs have the following values, respectively, 505 and 2234 505. I'm trying to understand why I'm not seeing the item in the table prior to rollback and wondering what the error state and error string means.

    *** UPDATE ***

    I was able to determine that I made a typographical error in the Class ID that I was using. Fixing that resolved my issue.  It is possible to construct a script where you create items, based upon a class, and then assign a price list to the newly created item, using the procs mentioned here.

    I've been trying to mark Josh's comment as the answer (or at least part of it), but it is not allowing me to do so.

    Thanks,

    - Nick

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
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 264 Most Valuable Professional

#3
Subra Profile Picture

Subra 243 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans