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 :
Microsoft Dynamics AX (Archived)

Process Product Builder configuration from xml files

(0) ShareShare
ReportReport
Posted on by

Hi everyone,

I'm busy with a small X++ project reading xml files with salesorders. Each xml order contains headerinfo, lineinfo & configuration info in parameter tags in batch. 

PB1.jpg

The salesorder is created with all lines, Product Builder model is processed, Model variables are there. BOM is created and automatically a production order is released with a date based on the items lead time.

The problem I have is that I can't get the 'local' data variables stored correctly??
If I do a manual PB configuration I notice there is a RECID for the temp table PBATablePBAInstance when hitting the PBASource method:

pb2.jpg

When I run my code the recid is empty:

PB3.jpg

As a result, in the PBAWrite the calculated variables are not saved:

PB4.jpg

PB5.jpg

I think it has something to do with the fact that I don't run the PB dialog..

It’s really annoying I can’t get this last piece to work / lack the knowledge to solve this?

Kind regards,

Mike 

*This post is locked for comments

I have the same question (0)

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Liquid error: parsing "/globalsearch/?q=new+holland+methodist+church%2C+lincolnshire+%7C+lincolnshire+%7C++filetype%3Axls" - Nested quantifier +.