Re: [development-axapta] Enable a field in a table only this item

2004-09-10 Thread Jim Jo




May be you need to Hardcode it on your datasource !! 
 
if( condition )
 
 enable/ disable ;
 
Thats it !! 
 
Cheers 
 
jim ! 

johannes47906 [EMAIL PROTECTED] wrote:
Hallo,

i want to set a field in the inventtable enable / disable, but only
for one item.
It is possible.

Construction like this makes the field for all item enable

AutoDeclaration.enabled(false);

Who can I do it ??

Mfg
Johannes




Yahoo! Groups SponsorADVERTISEMENT


-
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. 


  
-
Do you Yahoo!?
Shop for Back-to-School deals on Yahoo! Shopping.

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











Yahoo! Groups Sponsor


  Get unlimited calls to 	U.S./Canada  












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.










RE: [development-axapta] Enable a field in a table only this item

2004-09-10 Thread Malcolm Burtt




Hi
 
You need to add some code to the datasource active() method to do this. Something like...
 

autodeclaration.enabled(condition ? true : false);

This code will be executed as the user moves from one record to the next within that datasource.
 
Malcolm Burtt 
Global IT Group
Business Solutions designed for YOUR business processes
Global IT Group is the trading name of Touchstone Global Business Solutions Ltd. and is part of the Touchstone Group PLC.

 

-Original Message-
From: johannes47906 [mailto:[EMAIL PROTECTED]
Sent: 10 September 2004 08:00
To: [EMAIL PROTECTED]
Subject: [development-axapta] Enable a field in a table only this item


Hallo,

i want to set a field in the inventtable enable / disable, but only
for one item.
It is possible.

Construction like this makes the field for all item enable

AutoDeclaration.enabled(false);

Who can I do it ??

Mfg
Johannes





Yahoo! Groups Sponsor 
 http://us.ard.yahoo.com/SIG=129hhs4v3/M=296572.5305651.687.3001176/D=groups/S=1705006764:HM/EXP=1094886142/A=2343726/R=0/SIG=12i27gisj/*http://clk.atdmt.com/VON/go/yhxxxvon01900091von/direct/01/time=1094799742600068 http://us.ard.yahoo.com/SIG=129hhs4v3/M=296572.5305651.687.3001176/D=groups/S=1705006764:HM/EXP=1094886142/A=2343726/R=1/SIG=12i27gisj/*http://clk.atdmt.com/VON/go/yhxxxvon01900091von/direct/01/time=1094799742600068 


Get unlimited calls to

U.S./Canada

 http://view.atdmt.com/VON/view/yhxxxvon01900091von/direct/01/time=1094799742600068 
 http://us.adserver.yahoo.com/l?M=296572.5305651.687.3001176/D=groups/S=:HM/A=2343726/rand=102183674  


 _ 

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! Terms of Service http://docs.yahoo.com/info/terms/ . 




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











Yahoo! Groups Sponsor


  ADVERTISEMENT 












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.