Try the following:
inventDim.InventLocationId =
innventTable::find(itemId).salesInventLocationId();
inventDim = InventDim::FindOrCreate(InventDim);
If you are using WMSLocations, set InventDim.wmsLocationID, too.
HTH, Annette
Mit freundlichen Gr��en / Best regards
Dipl. Phys. Annette Thei�en
System Software Entwicklung
______________________________________________
Viscom AG - Carl-Buderus-Str. 9-15 - D-30455 Hannover
Phone: +49/511/94996-0 - Fax: +49/511/94996-900
mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> -
http://www.viscom.de <http://www.viscom.de/>
-----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 Sponsor
ADVERTISEMENT
<http://us.ard.yahoo.com/SIG=1290sflto/M=298184.6018725.7038619.3001176/D=gr
oups/S=1705006764:HM/EXP=1108460321/A=2532114/R=2/SIG=12ko4o5bc/*http://clk.
atdmt.com/NFX/go/yhxxxnfx0020000014nfx/direct/01/&time=1108373921636915>
<http://us.adserver.yahoo.com/l?M=298184.6018725.7038619.3001176/D=groups/S=
:HM/A=2532114/rand=739057718>
_____
Yahoo! Groups Links
* To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
<http://groups.yahoo.com/group/development-axapta/>
* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> .
[Non-text portions of this message have been removed]
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

