Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

customer postal Address

Posted on by 1,534

hi expert, I have a strange situation , we have two customized table, salesTableArrivale(header table) ,SalesTableArrivaleLines (line table) which have relation with custTable.

now we want to display customer  postal address and customer name on customized report.

the report designed from AOT Query, not RDP Base.

so we just created display method on header level table(salesTableArrival)

for Customer name:

Display name customerName()
{
    ;
    return CustTable::find(this.CustAccount).name();
}

and for customer Address :

display LogisticsAddressing partyAddress()
{


;

    return CustTable::find(this.CustAccount).address();

}

now the problem is that customer name is displaying on report while address for same customer doesn't display.

please advise where is the problem in code.?

thanks And Regards.

*This post is locked for comments

  • Suggested answer
    munsif Profile Picture
    munsif 1,534 on at
    RE: customer postal Address

    Dear experts I solved the problem , actually the problem was in Sales Arrival Line Table, there must b display method which return the customer Address, and we have define a display method on salesArrivalTable( at header Level.)

    by creating a display method at line level , the address for customer is now displaying.

    Thanks & Regards.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans