Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Company address in custom report layout

(0) ShareShare
ReportReport
Posted on by 212

Hello, 

I am working on the Sales Invoice custom report layout. The Company information is shown as below:

pastedimage1657786499944v1.png

How can I know what address1,2,...6 are supposed to be if the Company Information doesnt have those field names, but Address, Address 2, City and Post Code?

Address 7122 South Ashford Street
Address 2 Westminster
City London
Post Code W2 8HG

Thanks

Alejandra

  • Suggested answer
    YUN ZHU Profile Picture
    84,318 Super User 2025 Season 1 on at
    RE: Company address in custom report layout

    The handling of this address is quite complex and may vary from address 1 to 6 for each country/region.

    You can find some clues by the following methods.

    pastedimage1657845724128v1.png

    pastedimage1657845751915v2.png

    pastedimage1657845819934v4.png

    pastedimage1657845889793v6.png

    pastedimage1657845903129v7.png

    Hope this helps as well.

    Thanks.

    ZHU

  • Suggested answer
    Nitin Verma Profile Picture
    21,565 Moderator on at
    RE: Company address in custom report layout

    Hi,

    If you dig out the report ID 1306, you will come to know that there is a  Codeunit : Format Address is used to get the company address variables and then shown them in the report. See the image.

    pastedimage1657796188530v1.png

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 1,452

#2
YUN ZHU Profile Picture

YUN ZHU 1,313 Super User 2025 Season 1

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 1,083 Most Valuable Professional

Featured topics

Product updates

Dynamics 365 release plans