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;
Why do you need this change?
The Intercompany API framework currently provides extensibility events when data is deserialized from JSON into IC Inbox tables:
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;