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

Announcements

No record found.

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 39

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans