Hi Dick,



look at this code, it shows how to find:or to create a InventDim-record



container          c; //contains the imported data maybe from file.

InventDim          inventDim;

InventDim          newInventDim;



inventDim.inventLocationId = conpeek(c,1); //assuming c contains at position
1 the inventLocationId

inventDim.wmsLocationId = conpeek(c,2);

.



newInventDim = InventDim::findOrCreate(inventDim); //newInventDim now
contains the new or already existing inventDim



for price import look at priceDiscAdm class.



Regards



Matthias







  _____ 

Von: Dick Howard [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 22. Oktober 2004 23:38
An: [EMAIL PROTECTED]
Betreff: [development-axapta] Price/Discount Import





Does anyone have an import script or routine to handle the case
where the prices to be imported are for configured items? In this
case the InventDimId must be specified in the PriceDiscTable import
file. This implies that you need to first find out where InventDimId
records already exist in the InventDim table and create the ones
that do not. The process then is two stage.

First import into InventDim table to create the missing InventDimId
records and then use these InventDimId numbers in the PriceDiscTable
import.

Routine should be able to find/create InventDimId numbers...

Please reply to [EMAIL PROTECTED]

Thanks.











Yahoo! Groups Sponsor



ADVERTISEMENT

<http://us.ard.yahoo.com/SIG=129uapfc2/M=294855.5468653.6549235.3001176/D=gr
oups/S=1705006764:HM/EXP=1098619778/A=2376776/R=0/SIG=11ldm1jvc/*http:/promo
tions.yahoo.com/ydomains2004/index.html> click here



<http://us.adserver.yahoo.com/l?M=294855.5468653.6549235.3001176/D=groups/S=
:HM/A=2376776/rand=308527342>



  _____ 

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]
<mailto:[EMAIL PROTECTED]>
 
*      Your use of Yahoo! Groups is subject to the Yahoo!
<http://docs.yahoo.com/info/terms/>  Terms of Service.



[Non-text portions of this message have been removed]





Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to