This is all about BC in the cloud SaaS.
Trying to send some additional fields inside an IC Gen. Jnl Line. While it works perfectly across companies in the same tenant, when using the API I get the expected transaction at the destination and its "IC Inbox Gen. Jnl. Line", but with those additional fields blank.
My extension already extends the Gen. Jnl. Line and the Gen. Jnl. Line IC tables such as IC/Handled IC Outbox and IC/Handled IC Inbox and the "Buffer IC Inbox Jnl. Line". I am sure that the records on those tables are all written with content on those additional fields.
The "Buffer IC Inbox Jnl. Line" is being written at the source tenant BC App "on behalf" of the corresponding IC Partner, whose data and additional fields will be sent through the API by codeunit "IC Data Exchange API"."PostICJournalLineToICPartnerInbox". What internally/API-related happens next?
That's where we got into trouble. The additional fields wont' get populated at the the destination Intercompany Inbox Jnl. Line table, when we go to that tenant app and check the inbox.
How does the IC Partner registered API and its token get the additional fields?
We also had a thought that if we'd create an interface page for the buffer table, it could be exposed through web services. But would it be necessary?
Also, the XML Port 12 "IC Inbox Imp/Exp" is lacking our additional fields in the tableelement icoutboxjnlline and even if we do a copy of this XML Port to our own with the additional fields, how would we use it instead? And is this XML being used in any way for the json token generation?
Many questions, as you see, please shed some light on this.