ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] IC Data Exchange API - Add extensibility event before serializing IC Sales Line to JSON

Open cponcet-pdw opened this issue 4 months ago • 3 comments

Why do you need this change?

The Intercompany API framework currently provides extensibility events when data is deserialized from JSON into IC Inbox tables:

  • OnPopulateICInboxSalesLineFromJsonOnBeforeInsert
  • OnPopulateICInboxPurchaseLineFromJsonOnBeforeInsert
  • etc.

These events allow partners to populate additional fields from custom JSON properties during the incoming process.

However, there is currently no extensibility point when IC sales lines are serialized into the outgoing JSON payload.

Because of this limitation, it is not possible to transport custom line-level information through the standard Intercompany API process without using unsupported workarounds.

Describe the request

Add an integration event before an IC Sales Line is added to the outgoing JSON payload:

[IntegrationEvent(false, false)] local procedure OnBeforeAddICInboxSalesLineToJson( BufferICInboxSalesLine: Record "Buffer IC Inbox Sales Line"; var JsonObject: JsonObject) begin end;

cponcet-pdw avatar Jul 09 '26 15:07 cponcet-pdw

Usage exemple:

EventSubscriber(ObjectType::Codeunit, Codeunit::"IC Data Exchange API", 'OnBeforeAddICInboxSalesLineToJson', '', false, false)] local procedure OnBeforeAddICInboxSalesLineToJson( BufferICInboxSalesLine: Record "Buffer IC Inbox Sales Line"; var JsonObject: JsonObject) var

cponcet-pdw avatar Jul 09 '26 15:07 cponcet-pdw

Please Reopen it, not closed

cponcet-pdw avatar Jul 09 '26 15:07 cponcet-pdw

Hi @cponcet-pdw,

Thank you for your extensibility request. To help us process it efficiently, please update the issue to include the required information.

📚 Extensibility Guidelines

Missing Information:

  • Target serialization location: Codeunit IC Data Exchange API does not contain an outgoing IC sales-line JsonObject serialization point matching the requested event location. Please identify the exact procedure/location where the outgoing IC sales line should be exposed, or clarify whether the request should target the existing PostICSalesLineToICPartnerInbox flow instead.

Please update the issue with the missing details. We'll automatically re-analyze once updated.

[!NOTE] Automatically generated by the Triage Agent — advisory only. An engineer will review before any action is taken.

[!TIP] Not accurate? Reply with /not-accurate (optional: add a short explanation). Your feedback improves future responses.

github-actions[bot] avatar Jul 10 '26 13:07 github-actions[bot]