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




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

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




Reply via email to