Thanks a lot, Diego! 

I'm glad that at least one has understood my explanations ;) even 
though they're quite complicated to explain, even in my native 
tongue... 
The method works fine on the table and with just a bit of code 
replacements. Lucky I finally made it.. There's still enough work to 
do, at least i can check one job. 
Thanks again for your help, Robert

--- In [email protected], DIEGO MARIANO 
GAGLIANO <[EMAIL PROTECTED]> wrote:
> Hi Robert
>  
> I mean, create a Display method on the Table
> Display Name AccName();
> {
>    if (this.relationType==PriceType::PricePurch)
>    {
>       return PriceDiscGroup::find
(ModuleInventCustVend::Vend,PriceGroupType::PriceGroup, 
PriceDiscTable.AccountRelation).Name;
>        }
>        else
>              return '';
> }
>  
> Now in the Form you need to put DataSource (you table name), in the 
DataMethod (This method).
> Axapta show automatically the information all the time, that mean 
if you modify the field related with this Display method, axapta 
update automaticall.
> I hope this can help you.
> 
>  
> 
> 
> 
> Best regards,
>         Diego M. Gagliano
>  
> Please fill free to contact me if you have any question.
> I look forward to hear about you.
> 
> 
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Put more honey in your pocket. (money matters made easy).
http://us.click.yahoo.com/r7D80C/dlQLAA/cosFAA/kGEolB/TM
--------------------------------------------------------------------~-> 

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/
 



Reply via email to