Hi Sherin,
as you dont have the field mandatory for all cases, the easiest way would be to 
overwrite the validatefield()-method of the table and check if conditions are 
met.
only problem: The field will not be shown as "mandatory" because in fact it is 
not ;-)
 
hth Tobias

        -----Ursprüngliche Nachricht----- 
        Von: sherin francis [mailto:[EMAIL PROTECTED] 
        Gesendet: Mo 08.08.2005 10:08 
        An: Axapta-Knowledge-Village@yahoogroups.com 
        Cc: 
        Betreff: *SPAM* [Axapta-Knowledge-Village] Making a field mandatory for 
a particular item group
        
        
        Dear All,
         
        One of our customer has a requirement wherein in the purchase order-> 
Lines table -> Setup tab, the Ledger account field has to be made mandatory.
        But the hitch is that the ledger account field has to be made mandatory 
only for  a particular item group.
        I'm sure this will involve some coding in the form level...
        If any one has any experience on this, kindly help
         
        Thanks in advance,
        Sherin

        __________________________________________________
        Do You Yahoo!?
        Tired of spam? Yahoo! Mail has the best spam protection around 
        http://mail.yahoo.com 
        
        Sharing the knowledge on Axapta. 
        
        
        

  _____  

        YAHOO! GROUPS LINKS 


                
        *        Visit your group "Axapta-Knowledge-Village 
<http://groups.yahoo.com/group/Axapta-Knowledge-Village> " on the web.
                  
        *        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/> . 


  _____  




------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12htnt4f7/M=362131.6882500.7825259.1493532/D=groups/S=1705001380:TM/Y=YAHOO/EXP=1123521821/A=2889190/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Put more honey in your pocket. (money matters made easy) Welcome to the Sweet 
Life - brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 

Sharing the knowledge on Axapta. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Axapta-Knowledge-Village/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<<winmail.dat>>

Reply via email to