Reputation: 73
I would like to import BOM over the standard BOM AIF Web Service in AX 2012.
In my XML-File I don't define any BOMId, because the system should take the next possible BOMId from the existing number sequence.
When I start the import of my XML-File I get the following error message.
This is the setting of my number sequence.
What do I have to do to automatically get the next available number from the number sequence (Continous), when importing BOMs via the standard AX AIF Web Service?
Upvotes: 0
Views: 306
Reputation: 5117
I followed the cross references of the exception message (label id @SYS96663, btw) to method checkNumber
of class AxInternalBase
, which calls method numAllowEdit
of table NumberSequenceTable
. From the logic of that method it seems that one of the checkboxes "Manual", "To a lower number" or "To a higher number" needs to be set for this to work. Not sure why, though or which of the checkboxes is the right one or makes the most sense. My gut tells me to go with "To a higher number", but ymmv.
Also take a look at the related question Dynamics AX 2012 R3 - Record Creation through AIF web service and method setBOMId
of class AxBOMTable
.
Upvotes: 0