web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Ship To details on Sales Pro Forma Invoice Report : No Visible

(0) ShareShare
ReportReport
Posted on by 160
Hello all,
 
I wanted to ask how I can get ship to details on Sales Pro Forma Report.
 
I was trying to duplicate the code from the base code using Format Address Code unit, I think I am doing something wrong as it is not working.
Can you please tell me a better way to get Ship-To Details onto the report.
 
reportextension 50100 ProformaInvExt extends /Standard Sales - Pro Forma Inv/
{
    dataset
    {
        add(Header)
        {
            column(ShipToAddress1; ShipToAddr[1])
            {
            }
            column(ShipToAddress2; ShipToAddr[2])
            {
            }
            column(ShipToAddress3; ShipToAddr[3])
            {
            }
            column(ShipToAddress4; ShipToAddr[4])
            {
            }
            column(ShipToAddress5; ShipToAddr[5])
            {
            }
            column(ShipToAddress6; ShipToAddr[6])
            {
            }
            column(ShipToAddress7; ShipToAddr[7])
            {
            }
            column(ShipToAddress8; ShipToAddr[8])
            {
            }
        }
    }
    var
        ShipToAddr: array[8] of Text[100];
        ShowShippingAddr: Boolean;
 
    trigger OnPreReport()
    var
        FormatAddress: Codeunit /Format Address/;
    begin
        ShowShippingAddr := FormatAddress2.SalesHeaderShipTo(ShipToAddr, CustomerAddress, Header);
    end;
  • Suggested answer
    Gerardo Rentería García Profile Picture
    27,621 Super User 2026 Season 2 on at
    Hi
    I hope this can help you
    BR
    GR

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 674 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 362 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 359 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans