Hi,

Use findorcreate method of InventDim table .

Regards,

Demet.

-----Original Message-----
From: Andre Klopper [mailto:[EMAIL PROTECTED]
Sent: Monday, February 14, 2005 11:02 AM
To: [email protected]
Subject: [development-axapta] InventDim




Hi,

I'm trying to write an entry to InventDim table.

The reason, I created a salesLine entry and need to populate the
warehouse field which is part of the InventDim.

Here is the Job to create an entry to InventDim, it does not give any
errors, but it isn't in the table when I go look for it... Any
suggestions?

InventDim inventDim;
ItemId  itemId;

;

itemId = 'a item number';

inventDim.inventDimId = InventDim::newDimId()

inventDim.InventLocationId = innventTable::find(itemId).
salesInventLocationId();

inventDim.Insert();



Regards,
Andre







Yahoo! Groups Links













Yahoo! Groups Sponsor
ADVERTISEMENT


Yahoo! Groups Links

Reply via email to