
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.
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:
When I run my code the recid is empty:
As a result, in the PBAWrite the calculated variables are not saved:
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)