Hi Diego! Do you mean "calling" by selecting the tables display method as a data source or calling by writing a method in the form which calls the display-method? Will this select the proper description? Thanks for your quick answer, greets Robert
--- In [email protected], DIEGO MARIANO GAGLIANO <[EMAIL PROTECTED]> wrote: > Hi Robert > > I think is best to put the display method on the Table, and call from the form. > > > > drescher_r <[EMAIL PROTECTED]> wrote: > --- In [email protected], "James Flavell" > <[EMAIL PROTECTED]> wrote: > > Doesn't std Axapta have this already when you go via customer > table/trade > > agreements button?? > > Hi James, > > No, otherwise i wouldn't ask, would I? ;) > The point is that only numbers are visible when you select a > customer, a vendor, a item or a group. I'm supposed to add > informations about the selected number being the account name, the > item name or the group name. > > I realized this with two fields, one for items/item groups and one > for customers and vendors/account groups. When you open the form over > inventtable, the account details are visible, when you open it over > custtable or vendtable, the item details are shown. > All right so far... > > My only problem left is, that my display methods get the numbers from > the selected field, not the neighbor field from the same > line...that's why my form looks something like this (Brackets being > the selection) > > ItemNr Item Name ItemNr Item Name > [10001] Item 1 10001 Item 2 > 10002 Item 1 [10002] Item 2 > > A picture's worth a thousand words > > I got a hint that this problem has something to do with the incorrect > location of the display methods (currently in the methods-branch on > the form's topmost level) and a little something missing in the code, > which uses finds like > > if (relationType==PriceType::PricePurch) > { > return PriceDiscGroup::find(ModuleInventCustVend::Vend, > PriceGroupType::PriceGroup, PriceDiscTable.AccountRelation).Name; > } > > where's the problem, anyone? > > Greets > Robert > > > > > Sharing the knowledge on Axapta. > > > > SPONSORED LINKS > Axapta Business finance course Business finance online course Business finance class Business finance schools Business finances > > --------------------------------- > YAHOO! GROUPS LINKS > > > Visit your group "Axapta-Knowledge-Village" on the web. > > To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. > > > --------------------------------- > > > > > > Best regards, > Diego M. Gagliano > > Please fill free to contact me if you have any question. > I look forward to hear about you. > > > > > > > --------------------------------- > Start your day with Yahoo! - make it your home page ------------------------ Yahoo! Groups Sponsor --------------------~--> Help tsunami villages rebuild at GlobalGiving. The real work starts now. http://us.click.yahoo.com/njNroD/KbOLAA/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/

