Skip to content

[Bug]: Intercompany - Cross-eviroment data sending using Transfer type = Database (API) - Field IC Source Type #29860

Description

@PSkok1

Describe the issue

Sending Purchase Document using Intercompany feature (cross-enviroment using API) doesnt work properly, IC Source Type = Sales Document is sent, IC Source Type = Journal is received.

Problem is probably in InterCompany API - bufferIntercompanyInboxTransactions

{
  "@odata.etag": "W/\"JzE4OzcyODAwMjE0NDM0MDM3MjY2MDE7MDA7Jw==\"",
  "id": "c3c85855-e622-f111-8340-7c1e5225f901",
  "transactionNumber": 148,
  "icPartnerCode": "TEST1",
  "sourceType": "Sales Document",
  "icSourceType": "Sales_x0020_Document",
  "sourceTypeIndex": 0,                                 **// I expect value 1 here**
  "documentType": "Order",
  "documentTypeOrdinal": 5,
  "documentNumber": "NO-2600103",
  "postingDate": "2026-03-18",
  "transactionSource": "Created by Partner",
  "transactionSourceIndex": 1,
  "documentDate": "2026-03-18",
  "lineAction": "No Action",
  "lineActionIndex": 0,
  "originalDocumentNumber": "NO-2600103",
  "sourceLineNumber": 0,
  "icAccountType": "G_x002F_L_x0020_Account",
  "icAccountTypeOrdinal": 0,
  "icAccountNumber": ""
}

Expected behavior

In Intercompany Inbox Transaction of Enviroment 2 should be new record with value in Field IC Source Type = Sales Document

Actual behavior - In Intercompany Inbox Transaction of Enviroment 2 is new record with value in Field IC Source Type = Journal (default enum value Enum::"IC Transaction Source Type")

Steps to reproduce

Set up intercompany between 2 enviroments - use Database Transfer type, Set up IC partner in every enviroment company - dont use Auto. Accept Transactions in target partner, Send Purchase Order from enviroment 1 to enviroment 2

Additional context

This problem should have been fixed in BC 27.5
Application hotfixes 619364
Application hotfixes 614343

I will provide a fix for a bug

  • I will provide a fix for a bug

Internal work item: AB#630223

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    FinanceGitHub request for Finance areaacceptedAccepted as backlog work item.

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions