1

I know some classes AIF to import in to standard Table , look like : InventItem_InventTable ; VendVendTable_VendTable , etc...

I have to import in to InventTable, and, I wanto to insert too in the InventItemLocation table.

When I launch the :

entityKeyList = InventItemService::construct().create(InventItemDocument);

happens the InventItemLocation automatic population.

Is there other AIF classes for to import and populate the InventItemLocation?

I would decide to insert specific fields (not related to inventTable).

Jan B. Kjeldsen
  • 17,817
  • 5
  • 32
  • 50
ulisses
  • 1,549
  • 3
  • 37
  • 85

1 Answers1

0

I cannot test it right now, but I would give the AxInventItemLocation class (MSDN) a try. Something like this:

AxInventItemLocation axInventItemLocation;

axInventItemLocation = AxInventItemLocation::construct();

axInventItemLocation.parmItemId(someItemId);
axInventItemLocation.parmInventDimId(aInventDimId);

axInventItemLocation.save();
ztirom
  • 4,382
  • 3
  • 28
  • 39