You should use InventDim::findorcreate(...)

Denis


-----Urspr�ngliche Nachricht-----
Von: Andre Klopper [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 14. Februar 2005 10:02
An: [email protected]
Betreff: [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








Diese E-Mail enth�lt vertrauliche und/oder rechtlich gesch�tzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrt�mlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.




Yahoo! Groups Sponsor
ADVERTISEMENT


Yahoo! Groups Links

Reply via email to