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 :
Finance | Project Operations, Human Resources, ...
Unanswered

Intercompany sales order packing issue with print form letter

(0) ShareShare
ReportReport
Posted on by 8

Hello,

I have implemented a user required where the packing is done for an intercompany sales order in company B which in turn will do the packing of a related sales order in company A (By means of a packing PO).

The code is as follows:
SalesFormLetter salesFormLetter = SalesFormLetter::construct(DocumentStatus::PackingSlip);
salesFormLetter.interCompanyPosted(true);
salesFormLetter.update(salesTableInterco,
DateTimeUtil::getSystemDate(DateTimeUtil::getUserPreferredTimeZone()),
SalesUpdate::All,
AccountOrder::None,
NoYes::No,
NoYes::No,
NoYes::No);

However, there is an issue where the packing slip of the sales order in company A is generated upon packing. This is not the desired outcome as the codes will do the intercompany packing for multiple records. This will cause a problem.

Is there any way to set the intercompany packing print form letter to false in this scenario?

I have the same question (0)
  • Jason0810M Profile Picture
    8 on at

    The problem is that the value of the field PrintSalesPackingslip is true in the table InterCompanyEndpointActionPolicy for the corresponding vendor. This is what causes the print form letter. The user wishes for the parameter to remain true but however bypass the parameter when called in my custom logic. Is there any way to do it?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 512 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 386

#3
Adis Profile Picture

Adis 259 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans