When you select the Item the it first calls the InitFromInventTable method
on the PurchLine table. This in turn calls the
purchLineType.initFromInventTable method.



Because of the "performance issue" this method is written on the table.



In case if we want to use the same method of initializing the values from
the InventTable, to  the purchline table  then we may not be able to use it
if we have written on the form.















  _____ 

From: Danny Gaethofs [mailto:[EMAIL PROTECTED]
Sent: 16 December 2004 12:05
To: [EMAIL PROTECTED]
Subject: [development-axapta] Default field from InventTable to Purchase
Line





Dear all,

I created a new field on the InventTable. This field has to be
defaulted automatically to the PurchLine.

It looks like I need to add the defaulting to the method
initFromInventTable() on the Class PurchLineType. But I am not sure
this is the correct place.

I found out there is a modified() method on the datasource PurchLine
Field ItemId in the form PurchTable, that is calling the method
purchLine.itemIdChanged(). This method ulitmately calls the
previously mentioned method.

It is a bit strange to me that it is triggered by a method on a
field. Why is it not in the node method on the datasource PurchLine?

Can someone ensure this is the right spot to make the modification.

regards,
Danny Gaethofs











Yahoo! Groups Sponsor



ADVERTISEMENT

<http://us.ard.yahoo.com/SIG=12996o5if/M=294855.5468653.6549235.3001176/D=gr
oups/S=1705006764:HM/EXP=1103288712/A=2455396/R=0/SIG=119u9qmi7/*http:/small
business.yahoo.com/domains/> click here



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



  _____ 

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