Codeunit ICInboxOutboxMgt

ID 427
Namespace: Microsoft.Intercompany

Properties

Name Value
Permissions TableData "General Ledger Setup" = rm

Methods

CreateOutboxJnlTransaction

procedure CreateOutboxJnlTransaction(TempGenJnlLine: Record "Gen. Journal Line" temporary, Rejection: Boolean): Integer

Parameters

Name Type Description
TempGenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
Rejection Boolean

Returns

Type Description
Integer

SendSalesDoc

procedure SendSalesDoc(var SalesHeader: Record "Sales Header", Post: Boolean)

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"
Post Boolean

SendPurchDoc

procedure SendPurchDoc(var PurchHeader: Record "Purchase Header", Post: Boolean)

Parameters

Name Type Description
PurchHeader Table Microsoft.Purchases.Document."Purchase Header"
Post Boolean

CreateOutboxSalesDocTrans

procedure CreateOutboxSalesDocTrans(SalesHeader: Record "Sales Header", Rejection: Boolean, Post: Boolean)

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"
Rejection Boolean
Post Boolean

CreateOutboxSalesInvTrans

procedure CreateOutboxSalesInvTrans(SalesInvHdr: Record "Sales Invoice Header")

Parameters

Name Type Description
SalesInvHdr Table Microsoft.Sales.History."Sales Invoice Header"

CreateOutboxSalesCrMemoTrans

procedure CreateOutboxSalesCrMemoTrans(SalesCrMemoHdr: Record "Sales Cr.Memo Header")

Parameters

Name Type Description
SalesCrMemoHdr Table Microsoft.Sales.History."Sales Cr.Memo Header"

CreateOutboxPurchDocTrans

procedure CreateOutboxPurchDocTrans(PurchHeader: Record "Purchase Header", Rejection: Boolean, Post: Boolean)

Parameters

Name Type Description
PurchHeader Table Microsoft.Purchases.Document."Purchase Header"
Rejection Boolean
Post Boolean

CreateOutboxJnlLine

procedure CreateOutboxJnlLine(TransactionNo: Integer, TransactionSource: Option, TempGenJnlLine: Record "Gen. Journal Line" temporary)

Parameters

Name Type Description
TransactionNo Integer
TransactionSource Option
TempGenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

TranslateICGLAccount

procedure TranslateICGLAccount(ICAccNo: Code[30]): Code[20]

Parameters

Name Type Description
ICAccNo Code[30]

Returns

Type Description
Code[20]

TranslateICPartnerToVendor

procedure TranslateICPartnerToVendor(ICPartnerCode: Code[20]): Code[20]

Parameters

Name Type Description
ICPartnerCode Code[20]

Returns

Type Description
Code[20]

TranslateICPartnerToCustomer

procedure TranslateICPartnerToCustomer(ICPartnerCode: Code[20]): Code[20]

Parameters

Name Type Description
ICPartnerCode Code[20]

Returns

Type Description
Code[20]

CreateJournalLines

procedure CreateJournalLines(InboxTransaction: Record "IC Inbox Transaction", InboxJnlLine: Record "IC Inbox Jnl. Line", var TempGenJnlLine: Record "Gen. Journal Line" temporary, GenJnlTemplate: Record "Gen. Journal Template")

Parameters

Name Type Description
InboxTransaction Table Microsoft.Intercompany.Inbox."IC Inbox Transaction"
InboxJnlLine Table Microsoft.Intercompany.Inbox."IC Inbox Jnl. Line"
TempGenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GenJnlTemplate Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Template"

CreateSalesDocument

procedure CreateSalesDocument(ICInboxSalesHeader: Record "IC Inbox Sales Header", ReplacePostingDate: Boolean, PostingDate: Date)

Parameters

Name Type Description
ICInboxSalesHeader Table Microsoft.Intercompany.Inbox."IC Inbox Sales Header"
ReplacePostingDate Boolean
PostingDate Date

CreateSalesLines

procedure CreateSalesLines(SalesHeader: Record "Sales Header", ICInboxSalesLine: Record "IC Inbox Sales Line")

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"
ICInboxSalesLine Table Microsoft.Intercompany.Inbox."IC Inbox Sales Line"

CreatePurchDocument

procedure CreatePurchDocument(ICInboxPurchHeader: Record "IC Inbox Purchase Header", ReplacePostingDate: Boolean, PostingDate: Date)

Parameters

Name Type Description
ICInboxPurchHeader Table Microsoft.Intercompany.Inbox."IC Inbox Purchase Header"
ReplacePostingDate Boolean
PostingDate Date

CreatePurchLines

procedure CreatePurchLines(PurchHeader: Record "Purchase Header", ICInboxPurchLine: Record "IC Inbox Purchase Line")

Parameters

Name Type Description
PurchHeader Table Microsoft.Purchases.Document."Purchase Header"
ICInboxPurchLine Table Microsoft.Intercompany.Inbox."IC Inbox Purchase Line"

CreateHandledInbox

procedure CreateHandledInbox(InboxTransaction: Record "IC Inbox Transaction")

Parameters

Name Type Description
InboxTransaction Table Microsoft.Intercompany.Inbox."IC Inbox Transaction"

IsSalesHeaderFromIncomingIC

procedure IsSalesHeaderFromIncomingIC(var SalesHeader: Record "Sales Header"): Boolean

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"

Returns

Type Description
Boolean

IsPurchaseHeaderFromIncomingIC

procedure IsPurchaseHeaderFromIncomingIC(var PurchaseHeader: Record "Purchase Header"): Boolean

Parameters

Name Type Description
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"

Returns

Type Description
Boolean

ShowDuplicateICDocumentWarning

procedure ShowDuplicateICDocumentWarning(var PurchaseHeader: Record "Purchase Header")

Parameters

Name Type Description
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"

ShowDuplicateICDocumentWarning

procedure ShowDuplicateICDocumentWarning(var PurchaseHeader: Record "Purchase Header", WarningMsg: Text)

Parameters

Name Type Description
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"
WarningMsg Text

RejectAcceptedPurchaseHeader

[CommitBehavior(Ignore)]
procedure RejectAcceptedPurchaseHeader(var PurchaseHeader: Record "Purchase Header")

Parameters

Name Type Description
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"

RejectAcceptedSalesHeader

[CommitBehavior(Ignore)]
procedure RejectAcceptedSalesHeader(var SalesHeader: Record "Sales Header")

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"

RecreateInboxTransaction

procedure RecreateInboxTransaction(var HandledInboxTransaction: Record "Handled IC Inbox Trans.")

Parameters

Name Type Description
HandledInboxTransaction Table Microsoft.Intercompany.Inbox."Handled IC Inbox Trans."

RecreateInboxTransaction

procedure RecreateInboxTransaction(var HandledInboxTransaction: Record "Handled IC Inbox Trans.", Confirm: Boolean)

Parameters

Name Type Description
HandledInboxTransaction Table Microsoft.Intercompany.Inbox."Handled IC Inbox Trans."
Confirm Boolean

RecreateOutboxTransaction

procedure RecreateOutboxTransaction(var HandledOutboxTransaction: Record "Handled IC Outbox Trans.")

Parameters

Name Type Description
HandledOutboxTransaction Table Microsoft.Intercompany.Outbox."Handled IC Outbox Trans."

ForwardToOutBox

procedure ForwardToOutBox(InboxTransaction: Record "IC Inbox Transaction")

Parameters

Name Type Description
InboxTransaction Table Microsoft.Intercompany.Inbox."IC Inbox Transaction"

GetCompanyInfo

procedure GetCompanyInfo()

GetGLSetup

procedure GetGLSetup()

GetCurrency

procedure GetCurrency(var CurrencyCode: Code[20])

Parameters

Name Type Description
CurrencyCode Code[20]

GetItemFromCommonItem

procedure GetItemFromCommonItem(CommonItemNo: Code[20]): Code[20]

Parameters

Name Type Description
CommonItemNo Code[20]

Returns

Type Description
Code[20]

GetItemFromItemRef

procedure GetItemFromItemRef(RefNo: Code[50], RefType: Enum "Item Reference Type", RefTypeNo: Code[20], ToDate: Date): Code[20]

Parameters

Name Type Description
RefNo Code[50]
RefType Enum Microsoft.Inventory.Item.Catalog."Item Reference Type"
RefTypeNo Code[20]
ToDate Date

Returns

Type Description
Code[20]

HandleICComments

procedure HandleICComments(TableName: Option, NewTableName: Option, TransactionNo: Integer, ICPartner: Code[20], TransactionSource: Option)

Parameters

Name Type Description
TableName Option
NewTableName Option
TransactionNo Integer
ICPartner Code[20]
TransactionSource Option

OutboxTransToInbox

procedure OutboxTransToInbox(var ICOutboxTrans: Record "IC Outbox Transaction", var ICInboxTrans: Record "IC Inbox Transaction", FromICPartnerCode: Code[20])

Parameters

Name Type Description
ICOutboxTrans Table Microsoft.Intercompany.Outbox."IC Outbox Transaction"
ICInboxTrans Table Microsoft.Intercompany.Inbox."IC Inbox Transaction"
FromICPartnerCode Code[20]

OutboxTransToInboxOptimized

procedure OutboxTransToInboxOptimized(var ICOutboxTrans: Record "IC Outbox Transaction", var ICInboxTrans: Record "IC Inbox Transaction", FromICPartnerCode: Code[20], var ICPartnerCodeList: List of [Text], var TempAllPartnerICInboxTransaction: Record "IC Inbox Transaction" temporary, var TempAllPartnerHandledICInboxTrans: Record "Handled IC Inbox Trans." temporary)

Parameters

Name Type Description
ICOutboxTrans Table Microsoft.Intercompany.Outbox."IC Outbox Transaction"
ICInboxTrans Table Microsoft.Intercompany.Inbox."IC Inbox Transaction"
FromICPartnerCode Code[20]
ICPartnerCodeList List of [Text]
TempAllPartnerICInboxTransaction Table Microsoft.Intercompany.Inbox."IC Inbox Transaction"
TempAllPartnerHandledICInboxTrans Table Microsoft.Intercompany.Inbox."Handled IC Inbox Trans."

OutboxJnlLineToInbox

procedure OutboxJnlLineToInbox(var ICInboxTrans: Record "IC Inbox Transaction", var ICOutboxJnlLine: Record "IC Outbox Jnl. Line", var ICInboxJnlLine: Record "IC Inbox Jnl. Line")

Parameters

Name Type Description
ICInboxTrans Table Microsoft.Intercompany.Inbox."IC Inbox Transaction"
ICOutboxJnlLine Table Microsoft.Intercompany.Outbox."IC Outbox Jnl. Line"
ICInboxJnlLine Table Microsoft.Intercompany.Inbox."IC Inbox Jnl. Line"

OutboxSalesHdrToInbox

procedure OutboxSalesHdrToInbox(var ICInboxTrans: Record "IC Inbox Transaction", var ICOutboxSalesHeader: Record "IC Outbox Sales Header", var ICInboxPurchHeader: Record "IC Inbox Purchase Header")

Parameters

Name Type Description
ICInboxTrans Table Microsoft.Intercompany.Inbox."IC Inbox Transaction"
ICOutboxSalesHeader Table Microsoft.Intercompany.Outbox."IC Outbox Sales Header"
ICInboxPurchHeader Table Microsoft.Intercompany.Inbox."IC Inbox Purchase Header"

OutboxSalesLineToInbox

procedure OutboxSalesLineToInbox(var ICInboxTrans: Record "IC Inbox Transaction", var ICOutboxSalesLine: Record "IC Outbox Sales Line", var ICInboxPurchLine: Record "IC Inbox Purchase Line")

Parameters

Name Type Description
ICInboxTrans Table Microsoft.Intercompany.Inbox."IC Inbox Transaction"
ICOutboxSalesLine Table Microsoft.Intercompany.Outbox."IC Outbox Sales Line"
ICInboxPurchLine Table Microsoft.Intercompany.Inbox."IC Inbox Purchase Line"

OutboxICCommentLineToInbox

procedure OutboxICCommentLineToInbox(var ICInboxTransaction: Record "IC Inbox Transaction" temporary, OutgoingICCommentLine: Record "IC Comment Line", var NewICCommentLine: Record "IC Comment Line" temporary)

Parameters

Name Type Description
ICInboxTransaction Table Microsoft.Intercompany.Inbox."IC Inbox Transaction"
OutgoingICCommentLine Table Microsoft.Intercompany.Comment."IC Comment Line"
NewICCommentLine Table Microsoft.Intercompany.Comment."IC Comment Line"

OutboxPurchHdrToInbox

procedure OutboxPurchHdrToInbox(var ICInboxTrans: Record "IC Inbox Transaction", var ICOutboxPurchHeader: Record "IC Outbox Purchase Header", var ICInboxSalesHeader: Record "IC Inbox Sales Header")

Parameters

Name Type Description
ICInboxTrans Table Microsoft.Intercompany.Inbox."IC Inbox Transaction"
ICOutboxPurchHeader Table Microsoft.Intercompany.Outbox."IC Outbox Purchase Header"
ICInboxSalesHeader Table Microsoft.Intercompany.Inbox."IC Inbox Sales Header"

OutboxPurchLineToInbox

procedure OutboxPurchLineToInbox(var ICInboxTrans: Record "IC Inbox Transaction", var ICOutboxPurchLine: Record "IC Outbox Purchase Line", var ICInboxSalesLine: Record "IC Inbox Sales Line")

Parameters

Name Type Description
ICInboxTrans Table Microsoft.Intercompany.Inbox."IC Inbox Transaction"
ICOutboxPurchLine Table Microsoft.Intercompany.Outbox."IC Outbox Purchase Line"
ICInboxSalesLine Table Microsoft.Intercompany.Inbox."IC Inbox Sales Line"

OutboxJnlLineDimToInbox

Transfers ic outbox transaction dimensions to ic inbox transaction dimensions.

procedure OutboxJnlLineDimToInbox(var ICInboxJnlLine: Record "IC Inbox Jnl. Line", var ICOutboxJnlLineDim: Record "IC Inbox/Outbox Jnl. Line Dim.", var ICInboxJnlLineDim: Record "IC Inbox/Outbox Jnl. Line Dim.", ICInboxTableID: Integer)

Parameters

Name Type Description
ICInboxJnlLine Table Microsoft.Intercompany.Inbox."IC Inbox Jnl. Line"

Ic transaction that is being processed.

ICOutboxJnlLineDim Table Microsoft.Intercompany.Dimension."IC Inbox/Outbox Jnl. Line Dim."

Source ic outbox journal line.

ICInboxJnlLineDim Table Microsoft.Intercompany.Dimension."IC Inbox/Outbox Jnl. Line Dim."

Destination ic inbox journal line.

ICInboxTableID Integer

Number of record table.

OutboxDocDimToInbox

Transfers ic outbox document dimensions to ic inbox document dimensions.

procedure OutboxDocDimToInbox(var ICOutboxDocDim: Record "IC Document Dimension", var ICInboxDocDim: Record "IC Document Dimension", InboxTableID: Integer, InboxICPartnerCode: Code[20], InboxTransSource: Integer)

Parameters

Name Type Description
ICOutboxDocDim Table Microsoft.Intercompany.Dimension."IC Document Dimension"

Source ic outbox document dimensions.

ICInboxDocDim Table Microsoft.Intercompany.Dimension."IC Document Dimension"

Destination ic inbox document dimensions.

InboxTableID Integer

Destination table number.

InboxICPartnerCode Code[20]

Ic partner code.

InboxTransSource Integer

Source of transaction 'Rejected by Current Company' or 'Created by Current Company'.

MoveICJnlDimToHandled

Moves ic journal line dimensions to handled ic journal dimensions.

procedure MoveICJnlDimToHandled(TableID: Integer, NewTableID: Integer, TransactionNo: Integer, ICPartner: Code[20], LineNoFilter: Boolean, LineNo: Integer)

Parameters

Name Type Description
TableID Integer

Source table number.

NewTableID Integer

Destination table number.

TransactionNo Integer

Number of transaction that is being processed.

ICPartner Code[20]

Ic partner code.

LineNoFilter Boolean

If 'true' parameter LineNo will be used.

LineNo Integer

Line number of processed dimension.

MoveOutboxTransToHandledOutbox

Moves ic outbox documents to handled ic outbox documents.

procedure MoveOutboxTransToHandledOutbox(var ICOutboxTrans: Record "IC Outbox Transaction")

Parameters

Name Type Description
ICOutboxTrans Table Microsoft.Intercompany.Outbox."IC Outbox Transaction"

Ic outbox transaction that is being processed.

CreateICDocDimFromPostedDocDim

Creates ic document dimensions with provided 'DimSetID'.

procedure CreateICDocDimFromPostedDocDim(ICDocDim: Record "IC Document Dimension", DimSetID: Integer, TableNo: Integer)

Parameters

Name Type Description
ICDocDim Table Microsoft.Intercompany.Dimension."IC Document Dimension"

Ic Document dimensions that are created.

DimSetID Integer

Dimension set id of a given document.

TableNo Integer

Table number of document in process.

FindReceiptLine

Retrieves purchase receipt lines for purchase lines that have been received and not invoiced.

procedure FindReceiptLine(var PurchRcptLine: Record "Purch. Rcpt. Line", PurchaseLineSource: Record "Purchase Line"): Boolean

Parameters

Name Type Description
PurchRcptLine Table Microsoft.Purchases.History."Purch. Rcpt. Line"

Retrieved purchase receipt lines.

PurchaseLineSource Table Microsoft.Purchases.Document."Purchase Line"

Source purchase line.

Returns

Type Description
Boolean

Returns 'true' if found, otherwise 'false'.

FindShipmentLine

procedure FindShipmentLine(var ReturnShptLine: Record "Return Shipment Line", PurchaseLineSource: Record "Purchase Line"): Boolean

Parameters

Name Type Description
ReturnShptLine Table Microsoft.Purchases.History."Return Shipment Line"
PurchaseLineSource Table Microsoft.Purchases.Document."Purchase Line"

Returns

Type Description
Boolean

UpdatePurchLineICPartnerReference

Updates ic partner reference information on created purchase line from ic inbox purchase line.

procedure UpdatePurchLineICPartnerReference(var PurchaseLine: Record "Purchase Line", PurchaseHeader: Record "Purchase Header", ICInboxPurchLine: Record "IC Inbox Purchase Line")

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"

Destination purchase document line.

PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"

Processed purchase document header.

ICInboxPurchLine Table Microsoft.Intercompany.Inbox."IC Inbox Purchase Line"

Source ic inbox purchase line.

Remarks

Changes made to purchase document line 'PurchaseLine' are not saved to database.

UpdatePurchLineReceiptShipment

Updates purchase line information based on purchase receipt line or return shipment line for given purchase line if exists.

procedure UpdatePurchLineReceiptShipment(var PurchaseLine: Record "Purchase Line")

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"

Source purchase line.

Remarks

If either purchase receipt line or return shipment line is found, item tracking information will be transferred if exists. Changes made to purchase document line 'PurchaseLine' are not saved to database.

CheckPermissionToSendICTransaction

procedure CheckPermissionToSendICTransaction(var SalesHeader: Record "Sales Header")

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"

Events

OnInsertICOutboxTransaction

[IntegrationEvent(False,False)]
local procedure OnInsertICOutboxTransaction(var ICOutboxTransaction: Record "IC Outbox Transaction", var TempGenJnlLine: Record "Gen. Journal Line" temporary)

Parameters

Name Type Description
ICOutboxTransaction Table Microsoft.Intercompany.Outbox."IC Outbox Transaction"
TempGenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnInsertICOutboxSalesDocTransaction

[IntegrationEvent(False,False)]
local procedure OnInsertICOutboxSalesDocTransaction(var ICOutboxTransaction: Record "IC Outbox Transaction")

Parameters

Name Type Description
ICOutboxTransaction Table Microsoft.Intercompany.Outbox."IC Outbox Transaction"

OnInsertICOutboxSalesInvTransaction

[IntegrationEvent(False,False)]
local procedure OnInsertICOutboxSalesInvTransaction(var ICOutboxTransaction: Record "IC Outbox Transaction")

Parameters

Name Type Description
ICOutboxTransaction Table Microsoft.Intercompany.Outbox."IC Outbox Transaction"

OnInsertICOutboxSalesCrMemoTransaction

[IntegrationEvent(False,False)]
local procedure OnInsertICOutboxSalesCrMemoTransaction(var ICOutboxTransaction: Record "IC Outbox Transaction")

Parameters

Name Type Description
ICOutboxTransaction Table Microsoft.Intercompany.Outbox."IC Outbox Transaction"

OnInsertICOutboxPurchDocTransaction

[IntegrationEvent(False,False)]
local procedure OnInsertICOutboxPurchDocTransaction(var ICOutboxTransaction: Record "IC Outbox Transaction")

Parameters

Name Type Description
ICOutboxTransaction Table Microsoft.Intercompany.Outbox."IC Outbox Transaction"

OnInsertICOutboxJnlLine

[IntegrationEvent(False,False)]
local procedure OnInsertICOutboxJnlLine(var ICOutboxJnlLine: Record "IC Outbox Jnl. Line", TempGenJournalLine: Record "Gen. Journal Line" temporary)

Parameters

Name Type Description
ICOutboxJnlLine Table Microsoft.Intercompany.Outbox."IC Outbox Jnl. Line"
TempGenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnInsertOutboxJnlLineOnBeforeICOutboxJnlLineInsert

[IntegrationEvent(False,False)]
local procedure OnInsertOutboxJnlLineOnBeforeICOutboxJnlLineInsert(var ICOutboxJnlLine: Record "IC Outbox Jnl. Line", TempGenJournalLine: Record "Gen. Journal Line" temporary)

Parameters

Name Type Description
ICOutboxJnlLine Table Microsoft.Intercompany.Outbox."IC Outbox Jnl. Line"
TempGenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnAfterCreateSalesDocument

[IntegrationEvent(False,False)]
local procedure OnAfterCreateSalesDocument(var SalesHeader: Record "Sales Header", ICInboxSalesHeader: Record "IC Inbox Sales Header", HandledICInboxSalesHeader: Record "Handled IC Inbox Sales Header")

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"
ICInboxSalesHeader Table Microsoft.Intercompany.Inbox."IC Inbox Sales Header"
HandledICInboxSalesHeader Table Microsoft.Intercompany.Inbox."Handled IC Inbox Sales Header"

OnAfterCreateSalesLines

[IntegrationEvent(False,False)]
local procedure OnAfterCreateSalesLines(ICInboxSalesLine: Record "IC Inbox Sales Line", var SalesLine: Record "Sales Line", var SalesHeader: Record "Sales Header")

Parameters

Name Type Description
ICInboxSalesLine Table Microsoft.Intercompany.Inbox."IC Inbox Sales Line"
SalesLine Table Microsoft.Sales.Document."Sales Line"
SalesHeader Table Microsoft.Sales.Document."Sales Header"

OnAfterCreatePurchDocument

[IntegrationEvent(False,False)]
local procedure OnAfterCreatePurchDocument(var PurchaseHeader: Record "Purchase Header", ICInboxPurchaseHeader: Record "IC Inbox Purchase Header", HandledICInboxPurchHeader: Record "Handled IC Inbox Purch. Header")

Parameters

Name Type Description
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"
ICInboxPurchaseHeader Table Microsoft.Intercompany.Inbox."IC Inbox Purchase Header"
HandledICInboxPurchHeader Table Microsoft.Intercompany.Inbox."Handled IC Inbox Purch. Header"

OnAfterCreatePurchLines

[IntegrationEvent(False,False)]
local procedure OnAfterCreatePurchLines(ICInboxPurchLine: Record "IC Inbox Purchase Line", var PurchLine: Record "Purchase Line")

Parameters

Name Type Description
ICInboxPurchLine Table Microsoft.Intercompany.Inbox."IC Inbox Purchase Line"
PurchLine Table Microsoft.Purchases.Document."Purchase Line"

OnAfterCreateJournalLines

[IntegrationEvent(False,False)]
local procedure OnAfterCreateJournalLines(var GenJnlLine2: Record "Gen. Journal Line")

Parameters

Name Type Description
GenJnlLine2 Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnAfterForwardToOutBoxSalesDoc

[IntegrationEvent(False,False)]
local procedure OnAfterForwardToOutBoxSalesDoc(var ICInboxTransaction: Record "IC Inbox Transaction", var ICOutboxTransaction: Record "IC Outbox Transaction")

Parameters

Name Type Description
ICInboxTransaction Table Microsoft.Intercompany.Inbox."IC Inbox Transaction"
ICOutboxTransaction Table Microsoft.Intercompany.Outbox."IC Outbox Transaction"

OnAfterForwardToOutBoxPurchDoc

[IntegrationEvent(False,False)]
local procedure OnAfterForwardToOutBoxPurchDoc(var ICInboxTransaction: Record "IC Inbox Transaction", var ICOutboxTransaction: Record "IC Outbox Transaction")

Parameters

Name Type Description
ICInboxTransaction Table Microsoft.Intercompany.Inbox."IC Inbox Transaction"
ICOutboxTransaction Table Microsoft.Intercompany.Outbox."IC Outbox Transaction"

OnAfterHandledICOutboxSalesHdrInsert

[IntegrationEvent(False,False)]
local procedure OnAfterHandledICOutboxSalesHdrInsert(var HandledICOutboxSalesHeader: Record "Handled IC Outbox Sales Header", var ICOutboxSalesHeader: Record "IC Outbox Sales Header")

Parameters

Name Type Description
HandledICOutboxSalesHeader Table Microsoft.Intercompany.Outbox."Handled IC Outbox Sales Header"
ICOutboxSalesHeader Table Microsoft.Intercompany.Outbox."IC Outbox Sales Header"

OnAfterHandledICOutboxPurchHdrInsert

[IntegrationEvent(False,False)]
local procedure OnAfterHandledICOutboxPurchHdrInsert(var HandledICOutboxPurchHdr: Record "Handled IC Outbox Purch. Hdr", var ICOutboxPurchaseHeader: Record "IC Outbox Purchase Header")

Parameters

Name Type Description
HandledICOutboxPurchHdr Table Microsoft.Intercompany.Outbox."Handled IC Outbox Purch. Hdr"
ICOutboxPurchaseHeader Table Microsoft.Intercompany.Outbox."IC Outbox Purchase Header"

OnAfterICInboxPurchHeaderInsert

[IntegrationEvent(False,False)]
local procedure OnAfterICInboxPurchHeaderInsert(var ICInboxPurchaseHeader: Record "IC Inbox Purchase Header", ICOutboxSalesHeader: Record "IC Outbox Sales Header")

Parameters

Name Type Description
ICInboxPurchaseHeader Table Microsoft.Intercompany.Inbox."IC Inbox Purchase Header"
ICOutboxSalesHeader Table Microsoft.Intercompany.Outbox."IC Outbox Sales Header"

OnAfterICInboxPurchLineInsert

[IntegrationEvent(False,False)]
local procedure OnAfterICInboxPurchLineInsert(var ICInboxPurchaseLine: Record "IC Inbox Purchase Line", ICOutboxSalesLine: Record "IC Outbox Sales Line")

Parameters

Name Type Description
ICInboxPurchaseLine Table Microsoft.Intercompany.Inbox."IC Inbox Purchase Line"
ICOutboxSalesLine Table Microsoft.Intercompany.Outbox."IC Outbox Sales Line"

OnAfterICInboxSalesHeaderInsert

[IntegrationEvent(False,False)]
local procedure OnAfterICInboxSalesHeaderInsert(var ICInboxSalesHeader: Record "IC Inbox Sales Header", ICOutboxPurchaseHeader: Record "IC Outbox Purchase Header")

Parameters

Name Type Description
ICInboxSalesHeader Table Microsoft.Intercompany.Inbox."IC Inbox Sales Header"
ICOutboxPurchaseHeader Table Microsoft.Intercompany.Outbox."IC Outbox Purchase Header"

OnAfterICInboxSalesLineInsert

[IntegrationEvent(False,False)]
local procedure OnAfterICInboxSalesLineInsert(var ICInboxSalesLine: Record "IC Inbox Sales Line", ICOutboxPurchaseLine: Record "IC Outbox Purchase Line")

Parameters

Name Type Description
ICInboxSalesLine Table Microsoft.Intercompany.Inbox."IC Inbox Sales Line"
ICOutboxPurchaseLine Table Microsoft.Intercompany.Outbox."IC Outbox Purchase Line"

OnAfterICInboxTransInsert

[IntegrationEvent(False,False)]
local procedure OnAfterICInboxTransInsert(var ICInboxTransaction: Record "IC Inbox Transaction", ICOutboxTransaction: Record "IC Outbox Transaction")

Parameters

Name Type Description
ICInboxTransaction Table Microsoft.Intercompany.Inbox."IC Inbox Transaction"
ICOutboxTransaction Table Microsoft.Intercompany.Outbox."IC Outbox Transaction"

OnAfterRunExchangeAccGLJournalLine

[IntegrationEvent(False,False)]
local procedure OnAfterRunExchangeAccGLJournalLine(var TempGenJnlLine: Record "Gen. Journal Line" temporary, TransactionNo: Integer)

Parameters

Name Type Description
TempGenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TransactionNo Integer

OnCreateOutboxPurchDocTransOnAfterTransferFieldsFromPurchHeader

[IntegrationEvent(False,False)]
local procedure OnCreateOutboxPurchDocTransOnAfterTransferFieldsFromPurchHeader(var ICOutboxPurchHeader: Record "IC Outbox Purchase Header", PurchHeader: Record "Purchase Header")

Parameters

Name Type Description
ICOutboxPurchHeader Table Microsoft.Intercompany.Outbox."IC Outbox Purchase Header"
PurchHeader Table Microsoft.Purchases.Document."Purchase Header"

OnCreateOutboxSalesCrMemoTransOnAfterICOutBoxSalesHeaderInsert

[IntegrationEvent(False,False)]
local procedure OnCreateOutboxSalesCrMemoTransOnAfterICOutBoxSalesHeaderInsert(var ICOutboxSalesHeader: Record "IC Outbox Sales Header", SalesCrMemoHeader: Record "Sales Cr.Memo Header")

Parameters

Name Type Description
ICOutboxSalesHeader Table Microsoft.Intercompany.Outbox."IC Outbox Sales Header"
SalesCrMemoHeader Table Microsoft.Sales.History."Sales Cr.Memo Header"

OnCreateOutboxPurchDocTransOnAfterPurchLineSetFilters

[IntegrationEvent(False,False)]
local procedure OnCreateOutboxPurchDocTransOnAfterPurchLineSetFilters(var PurchHeader: Record "Purchase Header", var PurchLine: Record "Purchase Line")

Parameters

Name Type Description
PurchHeader Table Microsoft.Purchases.Document."Purchase Header"
PurchLine Table Microsoft.Purchases.Document."Purchase Line"

OnCreateOutboxSalesInvTransOnAfterICOutBoxSalesHeaderInsert

[IntegrationEvent(False,False)]
local procedure OnCreateOutboxSalesInvTransOnAfterICOutBoxSalesHeaderInsert(var ICOutboxSalesHeader: Record "IC Outbox Sales Header", SalesInvoiceHeader: Record "Sales Invoice Header")

Parameters

Name Type Description
ICOutboxSalesHeader Table Microsoft.Intercompany.Outbox."IC Outbox Sales Header"
SalesInvoiceHeader Table Microsoft.Sales.History."Sales Invoice Header"

OnCreateJournalLinesOnBeforeModify

[IntegrationEvent(False,False)]
local procedure OnCreateJournalLinesOnBeforeModify(var GenJournalLine: Record "Gen. Journal Line", ICInboxJnlLine: Record "IC Inbox Jnl. Line")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
ICInboxJnlLine Table Microsoft.Intercompany.Inbox."IC Inbox Jnl. Line"

OnBeforeCheckICPurchaseDocumentAlreadySent

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckICPurchaseDocumentAlreadySent(PurchaseHeader: Record "Purchase Header", var IsHandled: Boolean)

Parameters

Name Type Description
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"
IsHandled Boolean

OnBeforeCheckICSalesDocumentAlreadySent

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckICSalesDocumentAlreadySent(SalesHeader: Record "Sales Header", var IsHandled: Boolean)

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"
IsHandled Boolean

OnBeforeCreateOutboxPurchDocTrans

[IntegrationEvent(False,False)]
local procedure OnBeforeCreateOutboxPurchDocTrans(PurchaseHeader: Record "Purchase Header", Rejection: Boolean, Post: Boolean)

Parameters

Name Type Description
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"
Rejection Boolean
Post Boolean

OnBeforeCreateOutboxSalesCrMemoTrans

[IntegrationEvent(False,False)]
local procedure OnBeforeCreateOutboxSalesCrMemoTrans(SalesCrMemoHeader: Record "Sales Cr.Memo Header", var IsHandled: Boolean)

Parameters

Name Type Description
SalesCrMemoHeader Table Microsoft.Sales.History."Sales Cr.Memo Header"
IsHandled Boolean

OnBeforeCreateJournalLines

[IntegrationEvent(False,False)]
local procedure OnBeforeCreateJournalLines(InboxTransaction: Record "IC Inbox Transaction", InboxJnlLine: Record "IC Inbox Jnl. Line", var TempGenJnlLine: Record "Gen. Journal Line" temporary, GenJnlTemplate: Record "Gen. Journal Template", var IsHandled: Boolean)

Parameters

Name Type Description
InboxTransaction Table Microsoft.Intercompany.Inbox."IC Inbox Transaction"
InboxJnlLine Table Microsoft.Intercompany.Inbox."IC Inbox Jnl. Line"
TempGenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GenJnlTemplate Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Template"
IsHandled Boolean

OnBeforeFindReceiptLine

[IntegrationEvent(False,False)]
local procedure OnBeforeFindReceiptLine(var PurchRcptLine: Record "Purch. Rcpt. Line", PurchaseLineSource: Record "Purchase Line", var Found: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
PurchRcptLine Table Microsoft.Purchases.History."Purch. Rcpt. Line"
PurchaseLineSource Table Microsoft.Purchases.Document."Purchase Line"
Found Boolean
IsHandled Boolean

OnBeforeInsertGenJnlLine

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertGenJnlLine(var GenJnlLine: Record "Gen. Journal Line", ICInboxJnlLine: Record "IC Inbox Jnl. Line")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
ICInboxJnlLine Table Microsoft.Intercompany.Inbox."IC Inbox Jnl. Line"

OnBeforeICInboxPurchHeaderInsert

[IntegrationEvent(False,False)]
local procedure OnBeforeICInboxPurchHeaderInsert(var ICInboxPurchaseHeader: Record "IC Inbox Purchase Header", ICOutboxSalesHeader: Record "IC Outbox Sales Header")

Parameters

Name Type Description
ICInboxPurchaseHeader Table Microsoft.Intercompany.Inbox."IC Inbox Purchase Header"
ICOutboxSalesHeader Table Microsoft.Intercompany.Outbox."IC Outbox Sales Header"

OnBeforeICInboxPurchLineInsert

[IntegrationEvent(False,False)]
local procedure OnBeforeICInboxPurchLineInsert(var ICInboxPurchaseLine: Record "IC Inbox Purchase Line", ICOutboxSalesLine: Record "IC Outbox Sales Line")

Parameters

Name Type Description
ICInboxPurchaseLine Table Microsoft.Intercompany.Inbox."IC Inbox Purchase Line"
ICOutboxSalesLine Table Microsoft.Intercompany.Outbox."IC Outbox Sales Line"

OnBeforeICInboxSalesHeaderInsert

[IntegrationEvent(False,False)]
local procedure OnBeforeICInboxSalesHeaderInsert(var ICInboxSalesHeader: Record "IC Inbox Sales Header", ICOutboxPurchaseHeader: Record "IC Outbox Purchase Header")

Parameters

Name Type Description
ICInboxSalesHeader Table Microsoft.Intercompany.Inbox."IC Inbox Sales Header"
ICOutboxPurchaseHeader Table Microsoft.Intercompany.Outbox."IC Outbox Purchase Header"

OnBeforeICInboxSalesLineInsert

[IntegrationEvent(False,False)]
local procedure OnBeforeICInboxSalesLineInsert(var ICInboxSalesLine: Record "IC Inbox Sales Line", ICOutboxPurchaseLine: Record "IC Outbox Purchase Line")

Parameters

Name Type Description
ICInboxSalesLine Table Microsoft.Intercompany.Inbox."IC Inbox Sales Line"
ICOutboxPurchaseLine Table Microsoft.Intercompany.Outbox."IC Outbox Purchase Line"

OnBeforeICInboxTransInsert

[IntegrationEvent(False,False)]
local procedure OnBeforeICInboxTransInsert(var ICInboxTransaction: Record "IC Inbox Transaction", ICOutboxTransaction: Record "IC Outbox Transaction")

Parameters

Name Type Description
ICInboxTransaction Table Microsoft.Intercompany.Inbox."IC Inbox Transaction"
ICOutboxTransaction Table Microsoft.Intercompany.Outbox."IC Outbox Transaction"

OnBeforeSendPurchDoc

[IntegrationEvent(False,False)]
local procedure OnBeforeSendPurchDoc(var PurchHeader: Record "Purchase Header", var Post: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
PurchHeader Table Microsoft.Purchases.Document."Purchase Header"
Post Boolean
IsHandled Boolean

OnBeforeSendSalesDoc

[IntegrationEvent(False,False)]
local procedure OnBeforeSendSalesDoc(var SalesHeader: Record "Sales Header", var Post: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"
Post Boolean
IsHandled Boolean

OnBeforeUpdateICOutboxSalesLineReceiptShipment

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateICOutboxSalesLineReceiptShipment(var ICOutboxSalesLine: Record "IC Outbox Sales Line", ICOutboxSalesHeader: Record "IC Outbox Sales Header", var IsHandled: Boolean)

Parameters

Name Type Description
ICOutboxSalesLine Table Microsoft.Intercompany.Outbox."IC Outbox Sales Line"
ICOutboxSalesHeader Table Microsoft.Intercompany.Outbox."IC Outbox Sales Header"
IsHandled Boolean

OnBeforeValidateSalesLineDeliveryDates

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateSalesLineDeliveryDates(var SalesLine: Record "Sales Line", ICInboxSalesLine: Record "IC Inbox Sales Line", var IsHandled: Boolean)

Parameters

Name Type Description
SalesLine Table Microsoft.Sales.Document."Sales Line"
ICInboxSalesLine Table Microsoft.Intercompany.Inbox."IC Inbox Sales Line"
IsHandled Boolean

OnBeforeValidateQuantityFromICInboxSalesLine

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateQuantityFromICInboxSalesLine(var SalesLine: Record "Sales Line", ICInboxSalesLine: Record "IC Inbox Sales Line", var IsHandled: Boolean)

Parameters

Name Type Description
SalesLine Table Microsoft.Sales.Document."Sales Line"
ICInboxSalesLine Table Microsoft.Intercompany.Inbox."IC Inbox Sales Line"
IsHandled Boolean

OnCreateOutboxSalesInvTransOnAfterTransferFieldsFromSalesInvHeader

[IntegrationEvent(False,False)]
local procedure OnCreateOutboxSalesInvTransOnAfterTransferFieldsFromSalesInvHeader(var ICOutboxSalesHeader: Record "IC Outbox Sales Header", SalesInvHdr: Record "Sales Invoice Header", ICOutboxTransaction: Record "IC Outbox Transaction")

Parameters

Name Type Description
ICOutboxSalesHeader Table Microsoft.Intercompany.Outbox."IC Outbox Sales Header"
SalesInvHdr Table Microsoft.Sales.History."Sales Invoice Header"
ICOutboxTransaction Table Microsoft.Intercompany.Outbox."IC Outbox Transaction"

OnCreateOutboxSalesInvTransOnBeforeOutboxTransactionInsert

[IntegrationEvent(False,False)]
local procedure OnCreateOutboxSalesInvTransOnBeforeOutboxTransactionInsert(var OutboxTransaction: Record "IC Outbox Transaction")

Parameters

Name Type Description
OutboxTransaction Table Microsoft.Intercompany.Outbox."IC Outbox Transaction"

OnCreateOutboxSalesCrMemoTransOnAfterTransferFieldsFromSalesCrMemoHeader

[IntegrationEvent(False,False)]
local procedure OnCreateOutboxSalesCrMemoTransOnAfterTransferFieldsFromSalesCrMemoHeader(var ICOutboxSalesHeader: Record "IC Outbox Sales Header", SalesCrMemoHdr: Record "Sales Cr.Memo Header", ICOutboxTransaction: Record "IC Outbox Transaction")

Parameters

Name Type Description
ICOutboxSalesHeader Table Microsoft.Intercompany.Outbox."IC Outbox Sales Header"
SalesCrMemoHdr Table Microsoft.Sales.History."Sales Cr.Memo Header"
ICOutboxTransaction Table Microsoft.Intercompany.Outbox."IC Outbox Transaction"

OnCreateOutboxSalesCrMemoTransOnBeforeOutboxTransactionInsert

[IntegrationEvent(False,False)]
local procedure OnCreateOutboxSalesCrMemoTransOnBeforeOutboxTransactionInsert(var OutboxTransaction: Record "IC Outbox Transaction")

Parameters

Name Type Description
OutboxTransaction Table Microsoft.Intercompany.Outbox."IC Outbox Transaction"

OnBeforeICOutboxTransactionCreatedSalesDocTrans

[IntegrationEvent(False,False)]
local procedure OnBeforeICOutboxTransactionCreatedSalesDocTrans(var SalesHeader: Record "Sales Header", var SalesLine: Record "Sales Line", var ICOutboxSalesHeader: Record "IC Outbox Sales Header", var ICOutboxTransaction: Record "IC Outbox Transaction", LinesCreated: Boolean, Post: Boolean)

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"
SalesLine Table Microsoft.Sales.Document."Sales Line"
ICOutboxSalesHeader Table Microsoft.Intercompany.Outbox."IC Outbox Sales Header"
ICOutboxTransaction Table Microsoft.Intercompany.Outbox."IC Outbox Transaction"
LinesCreated Boolean
Post Boolean

OnBeforeICOutboxTransactionCreatedSalesInvTrans

[IntegrationEvent(False,False)]
local procedure OnBeforeICOutboxTransactionCreatedSalesInvTrans(var SalesInvoiceHeader: Record "Sales Invoice Header", var SalesInvoiceLine: Record "Sales Invoice Line", var ICOutboxSalesHeader: Record "IC Outbox Sales Header", var ICOutboxTransaction: Record "IC Outbox Transaction")

Parameters

Name Type Description
SalesInvoiceHeader Table Microsoft.Sales.History."Sales Invoice Header"
SalesInvoiceLine Table Microsoft.Sales.History."Sales Invoice Line"
ICOutboxSalesHeader Table Microsoft.Intercompany.Outbox."IC Outbox Sales Header"
ICOutboxTransaction Table Microsoft.Intercompany.Outbox."IC Outbox Transaction"

OnBeforeICOutboxTransactionCreatedSalesCrMemoTrans

[IntegrationEvent(False,False)]
local procedure OnBeforeICOutboxTransactionCreatedSalesCrMemoTrans(var SalesCrMemoHeader: Record "Sales Cr.Memo Header", var SalesCrMemoLine: Record "Sales Cr.Memo Line", var ICOutboxSalesHeader: Record "IC Outbox Sales Header", var ICOutboxTransaction: Record "IC Outbox Transaction")

Parameters

Name Type Description
SalesCrMemoHeader Table Microsoft.Sales.History."Sales Cr.Memo Header"
SalesCrMemoLine Table Microsoft.Sales.History."Sales Cr.Memo Line"
ICOutboxSalesHeader Table Microsoft.Intercompany.Outbox."IC Outbox Sales Header"
ICOutboxTransaction Table Microsoft.Intercompany.Outbox."IC Outbox Transaction"

OnBeforeICOutboxTransactionCreatedPurchDocTrans

[IntegrationEvent(False,False)]
local procedure OnBeforeICOutboxTransactionCreatedPurchDocTrans(var PurchaseHeader: Record "Purchase Header", var PurchaseLine: Record "Purchase Line", var ICOutboxPurchaseHeader: Record "IC Outbox Purchase Header", var ICOutboxTransaction: Record "IC Outbox Transaction", LinesCreated: Boolean, Post: Boolean)

Parameters

Name Type Description
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
ICOutboxPurchaseHeader Table Microsoft.Intercompany.Outbox."IC Outbox Purchase Header"
ICOutboxTransaction Table Microsoft.Intercompany.Outbox."IC Outbox Transaction"
LinesCreated Boolean
Post Boolean

OnBeforeHandledICOutboxSalesLineInsert

[IntegrationEvent(False,False)]
local procedure OnBeforeHandledICOutboxSalesLineInsert(var HandledICOutboxSalesLine: Record "Handled IC Outbox Sales Line", ICOutboxSalesLine: Record "IC Outbox Sales Line")

Parameters

Name Type Description
HandledICOutboxSalesLine Table Microsoft.Intercompany.Outbox."Handled IC Outbox Sales Line"
ICOutboxSalesLine Table Microsoft.Intercompany.Outbox."IC Outbox Sales Line"

OnBeforeHandledICOutboxPurchLineInsert

[IntegrationEvent(False,False)]
local procedure OnBeforeHandledICOutboxPurchLineInsert(var HandledICOutboxPurchLine: Record "Handled IC Outbox Purch. Line", ICOutboxPurchLine: Record "IC Outbox Purchase Line")

Parameters

Name Type Description
HandledICOutboxPurchLine Table Microsoft.Intercompany.Outbox."Handled IC Outbox Purch. Line"
ICOutboxPurchLine Table Microsoft.Intercompany.Outbox."IC Outbox Purchase Line"

OnBeforeInboxSalesLineInsert

[IntegrationEvent(False,False)]
local procedure OnBeforeInboxSalesLineInsert(var ICInboxSalesLine: Record "IC Inbox Sales Line", HandledICInboxSalesLine: Record "Handled IC Inbox Sales Line")

Parameters

Name Type Description
ICInboxSalesLine Table Microsoft.Intercompany.Inbox."IC Inbox Sales Line"
HandledICInboxSalesLine Table Microsoft.Intercompany.Inbox."Handled IC Inbox Sales Line"

OnBeforeOutBoxTransactionInsert

[IntegrationEvent(False,False)]
local procedure OnBeforeOutBoxTransactionInsert(var ICOutboxTransaction: Record "IC Outbox Transaction", SalesHeader: Record "Sales Header")

Parameters

Name Type Description
ICOutboxTransaction Table Microsoft.Intercompany.Outbox."IC Outbox Transaction"
SalesHeader Table Microsoft.Sales.Document."Sales Header"

OnBeforeUpdatePurchLineICPartnerReference

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdatePurchLineICPartnerReference(var PurchaseLine: Record "Purchase Line", PurchaseHeader: Record "Purchase Header", ICInboxPurchLine: Record "IC Inbox Purchase Line", var IsHandled: Boolean)

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"
ICInboxPurchLine Table Microsoft.Intercompany.Inbox."IC Inbox Purchase Line"
IsHandled Boolean

OnCreateOutboxJnlTransactionOnBeforeOutboxJnlTransactionInsert

[IntegrationEvent(False,False)]
local procedure OnCreateOutboxJnlTransactionOnBeforeOutboxJnlTransactionInsert(var OutboxJnlTransaction: Record "IC Outbox Transaction", var TempGenJnlLine: Record "Gen. Journal Line" temporary)

Parameters

Name Type Description
OutboxJnlTransaction Table Microsoft.Intercompany.Outbox."IC Outbox Transaction"
TempGenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnCreateOutboxPurchDocTransOnAfterICOutBoxPurchLineInsert

[IntegrationEvent(False,False)]
local procedure OnCreateOutboxPurchDocTransOnAfterICOutBoxPurchLineInsert(var ICOutboxPurchaseLine: Record "IC Outbox Purchase Line", PurchaseLine: Record "Purchase Line")

Parameters

Name Type Description
ICOutboxPurchaseLine Table Microsoft.Intercompany.Outbox."IC Outbox Purchase Line"
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"

OnCreateOutboxSalesCrMemoTransOnBeforeICOutBoxSalesLineInsert

[IntegrationEvent(False,False)]
local procedure OnCreateOutboxSalesCrMemoTransOnBeforeICOutBoxSalesLineInsert(var ICOutboxSalesLine: Record "IC Outbox Sales Line", SalesCrMemoLine: Record "Sales Cr.Memo Line")

Parameters

Name Type Description
ICOutboxSalesLine Table Microsoft.Intercompany.Outbox."IC Outbox Sales Line"
SalesCrMemoLine Table Microsoft.Sales.History."Sales Cr.Memo Line"

OnCreateOutboxSalesDocTransOnAfterICOutBoxSalesLineInsert

[IntegrationEvent(False,False)]
local procedure OnCreateOutboxSalesDocTransOnAfterICOutBoxSalesLineInsert(var ICOutboxSalesLine: Record "IC Outbox Sales Line", SalesLine: Record "Sales Line")

Parameters

Name Type Description
ICOutboxSalesLine Table Microsoft.Intercompany.Outbox."IC Outbox Sales Line"
SalesLine Table Microsoft.Sales.Document."Sales Line"

OnCreateOutboxSalesInvTransOnBeforeICOutBoxSalesLineInsert

[IntegrationEvent(False,False)]
local procedure OnCreateOutboxSalesInvTransOnBeforeICOutBoxSalesLineInsert(var ICOutboxSalesLine: Record "IC Outbox Sales Line", SalesInvLine: Record "Sales Invoice Line", ICOutBoxSalesHeader: Record "IC Outbox Sales Header")

Parameters

Name Type Description
ICOutboxSalesLine Table Microsoft.Intercompany.Outbox."IC Outbox Sales Line"
SalesInvLine Table Microsoft.Sales.History."Sales Invoice Line"
ICOutBoxSalesHeader Table Microsoft.Intercompany.Outbox."IC Outbox Sales Header"

OnCreatePurchDocumentOnBeforeHandledICInboxPurchLineInsert

[IntegrationEvent(False,False)]
local procedure OnCreatePurchDocumentOnBeforeHandledICInboxPurchLineInsert(ICInboxPurchLine: Record "IC Inbox Purchase Line", var HandledICInboxPurchLine: Record "Handled IC Inbox Purch. Line")

Parameters

Name Type Description
ICInboxPurchLine Table Microsoft.Intercompany.Inbox."IC Inbox Purchase Line"
HandledICInboxPurchLine Table Microsoft.Intercompany.Inbox."Handled IC Inbox Purch. Line"

OnCreatePurchDocumentOnBeforePurchHeaderInsert

[IntegrationEvent(False,False)]
local procedure OnCreatePurchDocumentOnBeforePurchHeaderInsert(var PurchaseHeader: Record "Purchase Header", ICInboxPurchaseHeader: Record "IC Inbox Purchase Header")

Parameters

Name Type Description
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"
ICInboxPurchaseHeader Table Microsoft.Intercompany.Inbox."IC Inbox Purchase Header"

OnCreateSalesDocumentOnAfterSalesHeaderFirstModify

[IntegrationEvent(False,False)]
local procedure OnCreateSalesDocumentOnAfterSalesHeaderFirstModify(var SalesHeader: Record "Sales Header")

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"

OnCreateSalesDocumentOnBeforeSetICDocDimFilters

[IntegrationEvent(False,False)]
local procedure OnCreateSalesDocumentOnBeforeSetICDocDimFilters(var SalesHeader: Record "Sales Header", var ICInboxSalesHeader: Record "IC Inbox Sales Header")

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"
ICInboxSalesHeader Table Microsoft.Intercompany.Inbox."IC Inbox Sales Header"

OnCreateSalesDocumentOnBeforeSalesHeaderInsert

[IntegrationEvent(False,False)]
local procedure OnCreateSalesDocumentOnBeforeSalesHeaderInsert(var SalesHeader: Record "Sales Header", ICInboxSalesHeader: Record "IC Inbox Sales Header")

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"
ICInboxSalesHeader Table Microsoft.Intercompany.Inbox."IC Inbox Sales Header"

OnCreateSalesLinesOnAfterValidateNo

[IntegrationEvent(False,False)]
local procedure OnCreateSalesLinesOnAfterValidateNo(var SalesLine: Record "Sales Line", SalesHeader: Record "Sales Header", ICInboxSalesLine: Record "IC Inbox Sales Line")

Parameters

Name Type Description
SalesLine Table Microsoft.Sales.Document."Sales Line"
SalesHeader Table Microsoft.Sales.Document."Sales Header"
ICInboxSalesLine Table Microsoft.Intercompany.Inbox."IC Inbox Sales Line"

OnCreatePurchLinesOnAfterValidateNo

[IntegrationEvent(False,False)]
local procedure OnCreatePurchLinesOnAfterValidateNo(var PurchaseLine: Record "Purchase Line", PurchaseHeader: Record "Purchase Header", ICInboxPurchaseLine: Record "IC Inbox Purchase Line")

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"
ICInboxPurchaseLine Table Microsoft.Intercompany.Inbox."IC Inbox Purchase Line"

OnForwardToOutBoxOnBeforeHndlInboxPurchLineInsert

[IntegrationEvent(False,False)]
local procedure OnForwardToOutBoxOnBeforeHndlInboxPurchLineInsert(var HandledICInboxPurchLine: Record "Handled IC Inbox Purch. Line", ICInboxPurchLine: Record "IC Inbox Purchase Line")

Parameters

Name Type Description
HandledICInboxPurchLine Table Microsoft.Intercompany.Inbox."Handled IC Inbox Purch. Line"
ICInboxPurchLine Table Microsoft.Intercompany.Inbox."IC Inbox Purchase Line"

OnForwardToOutBoxOnBeforeHndlInboxSalesLineInsert

[IntegrationEvent(False,False)]
local procedure OnForwardToOutBoxOnBeforeHndlInboxSalesLineInsert(var HandledICInboxSalesLine: Record "Handled IC Inbox Sales Line", ICInboxSalesLine: Record "IC Inbox Sales Line")

Parameters

Name Type Description
HandledICInboxSalesLine Table Microsoft.Intercompany.Inbox."Handled IC Inbox Sales Line"
ICInboxSalesLine Table Microsoft.Intercompany.Inbox."IC Inbox Sales Line"

OnForwardToOutBoxOnBeforeOutboxTransactionInsert

[IntegrationEvent(False,False)]
local procedure OnForwardToOutBoxOnBeforeOutboxTransactionInsert(var ICOutboxTransaction: Record "IC Outbox Transaction", ICInboxTransaction: Record "IC Inbox Transaction")

Parameters

Name Type Description
ICOutboxTransaction Table Microsoft.Intercompany.Outbox."IC Outbox Transaction"
ICInboxTransaction Table Microsoft.Intercompany.Inbox."IC Inbox Transaction"

OnRecreateInboxTransactionOnBeforeDeleteSalesHeader

[IntegrationEvent(False,False)]
local procedure OnRecreateInboxTransactionOnBeforeDeleteSalesHeader(HandledICInboxSalesHeader: Record "Handled IC Inbox Sales Header", var HandledICInboxTrans: Record "Handled IC Inbox Trans.")

Parameters

Name Type Description
HandledICInboxSalesHeader Table Microsoft.Intercompany.Inbox."Handled IC Inbox Sales Header"
HandledICInboxTrans Table Microsoft.Intercompany.Inbox."Handled IC Inbox Trans."

OnRecreateInboxTransactionOnBeforeDeletePurchHeader

[IntegrationEvent(False,False)]
local procedure OnRecreateInboxTransactionOnBeforeDeletePurchHeader(HandledICInboxPurchHeader: Record "Handled IC Inbox Purch. Header", var HandledICInboxTrans: Record "Handled IC Inbox Trans.")

Parameters

Name Type Description
HandledICInboxPurchHeader Table Microsoft.Intercompany.Inbox."Handled IC Inbox Purch. Header"
HandledICInboxTrans Table Microsoft.Intercompany.Inbox."Handled IC Inbox Trans."

OnRecreateInboxTransactionOnBeforeInboxPurchHdrInsert

[IntegrationEvent(False,False)]
local procedure OnRecreateInboxTransactionOnBeforeInboxPurchHdrInsert(var ICInboxPurchaseHeader: Record "IC Inbox Purchase Header", HandledICInboxPurchHeader: Record "Handled IC Inbox Purch. Header")

Parameters

Name Type Description
ICInboxPurchaseHeader Table Microsoft.Intercompany.Inbox."IC Inbox Purchase Header"
HandledICInboxPurchHeader Table Microsoft.Intercompany.Inbox."Handled IC Inbox Purch. Header"

OnRecreateInboxTransactionOnBeforeInboxPurchLineInsert

[IntegrationEvent(False,False)]
local procedure OnRecreateInboxTransactionOnBeforeInboxPurchLineInsert(var ICInboxPurchaseLine: Record "IC Inbox Purchase Line", HandledICInboxPurchLine: Record "Handled IC Inbox Purch. Line")

Parameters

Name Type Description
ICInboxPurchaseLine Table Microsoft.Intercompany.Inbox."IC Inbox Purchase Line"
HandledICInboxPurchLine Table Microsoft.Intercompany.Inbox."Handled IC Inbox Purch. Line"

OnRecreateInboxTransactionOnBeforeInboxSalesHdrInsert

[IntegrationEvent(False,False)]
local procedure OnRecreateInboxTransactionOnBeforeInboxSalesHdrInsert(var ICInboxSalesHeader: Record "IC Inbox Sales Header", HandledICInboxSalesHeader: Record "Handled IC Inbox Sales Header")

Parameters

Name Type Description
ICInboxSalesHeader Table Microsoft.Intercompany.Inbox."IC Inbox Sales Header"
HandledICInboxSalesHeader Table Microsoft.Intercompany.Inbox."Handled IC Inbox Sales Header"

OnRecreateInboxTransactionOnBeforeInboxTransactionInsert

[IntegrationEvent(False,False)]
local procedure OnRecreateInboxTransactionOnBeforeInboxTransactionInsert(var ICInboxTransaction: Record "IC Inbox Transaction", HandledICInboxTrans: Record "Handled IC Inbox Trans.", var HandledInboxTransaction: Record "Handled IC Inbox Trans.")

Parameters

Name Type Description
ICInboxTransaction Table Microsoft.Intercompany.Inbox."IC Inbox Transaction"
HandledICInboxTrans Table Microsoft.Intercompany.Inbox."Handled IC Inbox Trans."
HandledInboxTransaction Table Microsoft.Intercompany.Inbox."Handled IC Inbox Trans."

OnRecreateOutboxTransactionOnBeforeDeleteSalesHeader

[IntegrationEvent(False,False)]
local procedure OnRecreateOutboxTransactionOnBeforeDeleteSalesHeader(HandledICOutboxSalesHeader: Record "Handled IC Outbox Sales Header", var HandledICOutboxTrans: Record "Handled IC Outbox Trans.")

Parameters

Name Type Description
HandledICOutboxSalesHeader Table Microsoft.Intercompany.Outbox."Handled IC Outbox Sales Header"
HandledICOutboxTrans Table Microsoft.Intercompany.Outbox."Handled IC Outbox Trans."

OnRecreateOutboxTransactionOnBeforeDeletePurchHeader

[IntegrationEvent(False,False)]
local procedure OnRecreateOutboxTransactionOnBeforeDeletePurchHeader(HandledICOutboxPurchHdr: Record "Handled IC Outbox Purch. Hdr", var HandledICOutboxTrans: Record "Handled IC Outbox Trans.")

Parameters

Name Type Description
HandledICOutboxPurchHdr Table Microsoft.Intercompany.Outbox."Handled IC Outbox Purch. Hdr"
HandledICOutboxTrans Table Microsoft.Intercompany.Outbox."Handled IC Outbox Trans."

OnRecreateOutboxTransactionOnBeforeOutboxPurchHdrInsert

[IntegrationEvent(False,False)]
local procedure OnRecreateOutboxTransactionOnBeforeOutboxPurchHdrInsert(var ICOutboxPurchaseHeader: Record "IC Outbox Purchase Header", HandledICOutboxPurchHdr: Record "Handled IC Outbox Purch. Hdr")

Parameters

Name Type Description
ICOutboxPurchaseHeader Table Microsoft.Intercompany.Outbox."IC Outbox Purchase Header"
HandledICOutboxPurchHdr Table Microsoft.Intercompany.Outbox."Handled IC Outbox Purch. Hdr"

OnRecreateOutboxTransactionOnBeforeOutboxPurchLineInsert

[IntegrationEvent(False,False)]
local procedure OnRecreateOutboxTransactionOnBeforeOutboxPurchLineInsert(var ICOutboxPurchaseLine: Record "IC Outbox Purchase Line", HandledICOutboxPurchLine: Record "Handled IC Outbox Purch. Line")

Parameters

Name Type Description
ICOutboxPurchaseLine Table Microsoft.Intercompany.Outbox."IC Outbox Purchase Line"
HandledICOutboxPurchLine Table Microsoft.Intercompany.Outbox."Handled IC Outbox Purch. Line"

OnRecreateOutboxTransactionOnBeforeOutboxSalesLineInsert

[IntegrationEvent(False,False)]
local procedure OnRecreateOutboxTransactionOnBeforeOutboxSalesLineInsert(var ICOutboxSalesLine: Record "IC Outbox Sales Line", HandledICOutboxSalesLine: Record "Handled IC Outbox Sales Line")

Parameters

Name Type Description
ICOutboxSalesLine Table Microsoft.Intercompany.Outbox."IC Outbox Sales Line"
HandledICOutboxSalesLine Table Microsoft.Intercompany.Outbox."Handled IC Outbox Sales Line"

OnRecreateOutboxTransactionOnBeforeOutboxTransactionInsert

[IntegrationEvent(False,False)]
local procedure OnRecreateOutboxTransactionOnBeforeOutboxTransactionInsert(var ICOutboxTransaction: Record "IC Outbox Transaction", HandledICOutboxTrans: Record "Handled IC Outbox Trans.", var HandledOutboxTransaction: Record "Handled IC Outbox Trans.")

Parameters

Name Type Description
ICOutboxTransaction Table Microsoft.Intercompany.Outbox."IC Outbox Transaction"
HandledICOutboxTrans Table Microsoft.Intercompany.Outbox."Handled IC Outbox Trans."
HandledOutboxTransaction Table Microsoft.Intercompany.Outbox."Handled IC Outbox Trans."

OnAfterICOutBoxSalesLineInsert

[IntegrationEvent(False,False)]
local procedure OnAfterICOutBoxSalesLineInsert(var SalesLine: Record "Sales Line", var ICOutboxSalesLine: Record "IC Outbox Sales Line")

Parameters

Name Type Description
SalesLine Table Microsoft.Sales.Document."Sales Line"
ICOutboxSalesLine Table Microsoft.Intercompany.Outbox."IC Outbox Sales Line"

OnAfterICOutBoxSalesHeaderTransferFields

[IntegrationEvent(False,False)]
local procedure OnAfterICOutBoxSalesHeaderTransferFields(var ICOutboxSalesHeader: Record "IC Outbox Sales Header", SalesHeader: Record "Sales Header")

Parameters

Name Type Description
ICOutboxSalesHeader Table Microsoft.Intercompany.Outbox."IC Outbox Sales Header"
SalesHeader Table Microsoft.Sales.Document."Sales Header"

OnBeforeCreatePurchDocument

[IntegrationEvent(False,False)]
local procedure OnBeforeCreatePurchDocument(ICInboxPurchaseHeader: Record "IC Inbox Purchase Header", ReplacePostingDate: Boolean, PostingDate: Date, var IsHandled: Boolean, var PurchaseHeader: Record "Purchase Header", var HandledICInboxPurchHeader: Record "Handled IC Inbox Purch. Header")

Parameters

Name Type Description
ICInboxPurchaseHeader Table Microsoft.Intercompany.Inbox."IC Inbox Purchase Header"
ReplacePostingDate Boolean
PostingDate Date
IsHandled Boolean
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"
HandledICInboxPurchHeader Table Microsoft.Intercompany.Inbox."Handled IC Inbox Purch. Header"

OnBeforeCreateSalesDocument

[IntegrationEvent(False,False)]
local procedure OnBeforeCreateSalesDocument(ICInboxSalesHeader: Record "IC Inbox Sales Header", ReplacePostingDate: Boolean, PostingDate: Date, var IsHandled: Boolean)

Parameters

Name Type Description
ICInboxSalesHeader Table Microsoft.Intercompany.Inbox."IC Inbox Sales Header"
ReplacePostingDate Boolean
PostingDate Date
IsHandled Boolean

OnBeforeCreateOutboxSalesDocTrans

[IntegrationEvent(False,False)]
local procedure OnBeforeCreateOutboxSalesDocTrans(SalesHeader: Record "Sales Header", var IsHandled: Boolean)

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"
IsHandled Boolean

OnBeforeCreateOutboxSalesInvTrans

[IntegrationEvent(False,False)]
local procedure OnBeforeCreateOutboxSalesInvTrans(SalesInvoiceHeader: Record "Sales Invoice Header", var IsHandled: Boolean)

Parameters

Name Type Description
SalesInvoiceHeader Table Microsoft.Sales.History."Sales Invoice Header"
IsHandled Boolean

OnBeforeHandledICInboxSalesLineInsert

[IntegrationEvent(False,False)]
local procedure OnBeforeHandledICInboxSalesLineInsert(var HandledICInboxSalesLine: Record "Handled IC Inbox Sales Line", ICInboxSalesLine: Record "IC Inbox Sales Line")

Parameters

Name Type Description
HandledICInboxSalesLine Table Microsoft.Intercompany.Inbox."Handled IC Inbox Sales Line"
ICInboxSalesLine Table Microsoft.Intercompany.Inbox."IC Inbox Sales Line"

OnBeforeHandledInboxTransactionInsert

[IntegrationEvent(False,False)]
local procedure OnBeforeHandledInboxTransactionInsert(var HandledICInboxTrans: Record "Handled IC Inbox Trans.", ICInboxTransaction: Record "IC Inbox Transaction")

Parameters

Name Type Description
HandledICInboxTrans Table Microsoft.Intercompany.Inbox."Handled IC Inbox Trans."
ICInboxTransaction Table Microsoft.Intercompany.Inbox."IC Inbox Transaction"

OnBeforeOutboxPurchHdrToInboxProcedure

[IntegrationEvent(False,False)]
local procedure OnBeforeOutboxPurchHdrToInboxProcedure(var ICInboxTrans: Record "IC Inbox Transaction", var ICOutboxPurchHeader: Record "IC Outbox Purchase Header", var ICInboxSalesHeader: Record "IC Inbox Sales Header", ICSetup: Record "IC Setup", var IsHandled: Boolean, var ICPartner: Record "IC Partner", var TempPartnerICPartner: Record "IC Partner" temporary)

Parameters

Name Type Description
ICInboxTrans Table Microsoft.Intercompany.Inbox."IC Inbox Transaction"
ICOutboxPurchHeader Table Microsoft.Intercompany.Outbox."IC Outbox Purchase Header"
ICInboxSalesHeader Table Microsoft.Intercompany.Inbox."IC Inbox Sales Header"
ICSetup Table Microsoft.Intercompany.Setup."IC Setup"
IsHandled Boolean
ICPartner Table Microsoft.Intercompany.Partner."IC Partner"
TempPartnerICPartner Table Microsoft.Intercompany.Partner."IC Partner"

OnBeforeOutboxSalesHdrToInbox

[IntegrationEvent(False,False)]
local procedure OnBeforeOutboxSalesHdrToInbox(var ICInboxTrans: Record "IC Inbox Transaction", var ICOutboxSalesHeader: Record "IC Outbox Sales Header", var ICInboxPurchHeader: Record "IC Inbox Purchase Header", var ICPartner: Record "IC Partner", var IsHandled: Boolean)

Parameters

Name Type Description
ICInboxTrans Table Microsoft.Intercompany.Inbox."IC Inbox Transaction"
ICOutboxSalesHeader Table Microsoft.Intercompany.Outbox."IC Outbox Sales Header"
ICInboxPurchHeader Table Microsoft.Intercompany.Inbox."IC Inbox Purchase Header"
ICPartner Table Microsoft.Intercompany.Partner."IC Partner"
IsHandled Boolean

OnCreateSalesDocumentOnBeforeSalesHeaderModify

[IntegrationEvent(False,False)]
local procedure OnCreateSalesDocumentOnBeforeSalesHeaderModify(var SalesHeader: Record "Sales Header", ICInboxSalesHeader: Record "IC Inbox Sales Header", var ICDocDim: Record "IC Document Dimension")

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"
ICInboxSalesHeader Table Microsoft.Intercompany.Inbox."IC Inbox Sales Header"
ICDocDim Table Microsoft.Intercompany.Dimension."IC Document Dimension"

OnCreatePurchDocumentOnBeforeSetICDocDimFilters

[IntegrationEvent(False,False)]
local procedure OnCreatePurchDocumentOnBeforeSetICDocDimFilters(var PurchHeader: Record "Purchase Header", var ICInboxPurchHeader: Record "IC Inbox Purchase Header")

Parameters

Name Type Description
PurchHeader Table Microsoft.Purchases.Document."Purchase Header"
ICInboxPurchHeader Table Microsoft.Intercompany.Inbox."IC Inbox Purchase Header"

OnCreatePurchDocumentOnBeforePurchHeaderModify

[IntegrationEvent(False,False)]
local procedure OnCreatePurchDocumentOnBeforePurchHeaderModify(var PurchHeader: Record "Purchase Header", ICInboxPurchHeader: Record "IC Inbox Purchase Header")

Parameters

Name Type Description
PurchHeader Table Microsoft.Purchases.Document."Purchase Header"
ICInboxPurchHeader Table Microsoft.Intercompany.Inbox."IC Inbox Purchase Header"

OnCreateSalesLinesOnBeforefterAssignTypeAndNo

[IntegrationEvent(False,False)]
local procedure OnCreateSalesLinesOnBeforefterAssignTypeAndNo(var SalesLine: Record "Sales Line", ICInboxSalesLine: Record "IC Inbox Sales Line")

Parameters

Name Type Description
SalesLine Table Microsoft.Sales.Document."Sales Line"
ICInboxSalesLine Table Microsoft.Intercompany.Inbox."IC Inbox Sales Line"

OnCreatePurchLinesOnBeforeAssignTypeAndNo

[IntegrationEvent(False,False)]
local procedure OnCreatePurchLinesOnBeforeAssignTypeAndNo(var PurchaseLine: Record "Purchase Line", ICInboxPurchLine: Record "IC Inbox Purchase Line")

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
ICInboxPurchLine Table Microsoft.Intercompany.Inbox."IC Inbox Purchase Line"

OnCreatePurchLinesOnAfterTransferFields

[IntegrationEvent(False,False)]
local procedure OnCreatePurchLinesOnAfterTransferFields(var PurchaseLine: Record "Purchase Line", ICInboxPurchLine: Record "IC Inbox Purchase Line")

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
ICInboxPurchLine Table Microsoft.Intercompany.Inbox."IC Inbox Purchase Line"

OnCreatePurchLinesOnAfterAssignPurchLineFields

[IntegrationEvent(False,False)]
local procedure OnCreatePurchLinesOnAfterAssignPurchLineFields(var PurchaseLine: Record "Purchase Line", ICInboxPurchLine: Record "IC Inbox Purchase Line", var PurchHeader: Record "Purchase Header")

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
ICInboxPurchLine Table Microsoft.Intercompany.Inbox."IC Inbox Purchase Line"
PurchHeader Table Microsoft.Purchases.Document."Purchase Header"

OnCreatePurchLinesOnAfterModify

[IntegrationEvent(False,False)]
local procedure OnCreatePurchLinesOnAfterModify(var PurchaseLine: Record "Purchase Line", ICInboxPurchLine: Record "IC Inbox Purchase Line")

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
ICInboxPurchLine Table Microsoft.Intercompany.Inbox."IC Inbox Purchase Line"

OnCreatePurchLinesOnBeforeModify

[IntegrationEvent(False,False)]
local procedure OnCreatePurchLinesOnBeforeModify(var PurchaseLine: Record "Purchase Line", ICInboxPurchLine: Record "IC Inbox Purchase Line")

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
ICInboxPurchLine Table Microsoft.Intercompany.Inbox."IC Inbox Purchase Line"

OnCreatePurchLinesOnICPartnerRefTypeCaseElse

[IntegrationEvent(False,False)]
local procedure OnCreatePurchLinesOnICPartnerRefTypeCaseElse(var PurchaseLine: Record "Purchase Line", PurchHeader: Record "Purchase Header", ICInboxPurchLine: Record "IC Inbox Purchase Line")

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
PurchHeader Table Microsoft.Purchases.Document."Purchase Header"
ICInboxPurchLine Table Microsoft.Intercompany.Inbox."IC Inbox Purchase Line"

OnCreateSalesLinesOnICPartnerRefTypeCaseElse

[IntegrationEvent(False,False)]
local procedure OnCreateSalesLinesOnICPartnerRefTypeCaseElse(var SalesLine: Record "Sales Line", SalesHeader: Record "Sales Header", ICInboxSalesLine: Record "IC Inbox Sales Line")

Parameters

Name Type Description
SalesLine Table Microsoft.Sales.Document."Sales Line"
SalesHeader Table Microsoft.Sales.Document."Sales Header"
ICInboxSalesLine Table Microsoft.Intercompany.Inbox."IC Inbox Sales Line"

OnMoveOutboxTransToHandledOutboxOnAfterHandledICOutboxTransTransferFields

[IntegrationEvent(False,False)]
local procedure OnMoveOutboxTransToHandledOutboxOnAfterHandledICOutboxTransTransferFields(var HandledICOutboxTrans: Record "Handled IC Outbox Trans.", var ICOutboxTrans: Record "IC Outbox Transaction")

Parameters

Name Type Description
HandledICOutboxTrans Table Microsoft.Intercompany.Outbox."Handled IC Outbox Trans."
ICOutboxTrans Table Microsoft.Intercompany.Outbox."IC Outbox Transaction"

OnCreateOutboxPurchDocTransOnBeforeOutboxTransactionInsert

[IntegrationEvent(False,False)]
local procedure OnCreateOutboxPurchDocTransOnBeforeOutboxTransactionInsert(var OutboxTransaction: Record "IC Outbox Transaction", PurchaseHeader: Record "Purchase Header")

Parameters

Name Type Description
OutboxTransaction Table Microsoft.Intercompany.Outbox."IC Outbox Transaction"
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"

OnMoveOutboxTransToHandledOutboxOnBeforeHandledICOutboxTransTransferFields

[IntegrationEvent(False,False)]
local procedure OnMoveOutboxTransToHandledOutboxOnBeforeHandledICOutboxTransTransferFields(var HandledICOutboxTrans: Record "Handled IC Outbox Trans.", var ICOutboxTrans: Record "IC Outbox Transaction")

Parameters

Name Type Description
HandledICOutboxTrans Table Microsoft.Intercompany.Outbox."Handled IC Outbox Trans."
ICOutboxTrans Table Microsoft.Intercompany.Outbox."IC Outbox Transaction"

OnMoveOutboxTransToHandledOutboxOnBeforeICOutboxPurchLineDelete

[IntegrationEvent(False,False)]
local procedure OnMoveOutboxTransToHandledOutboxOnBeforeICOutboxPurchLineDelete(ICOutboxPurchLine: Record "IC Outbox Purchase Line", HandledICOutboxPurchLine: Record "Handled IC Outbox Purch. Line")

Parameters

Name Type Description
ICOutboxPurchLine Table Microsoft.Intercompany.Outbox."IC Outbox Purchase Line"
HandledICOutboxPurchLine Table Microsoft.Intercompany.Outbox."Handled IC Outbox Purch. Line"

OnMoveOutboxTransToHandledOutboxOnBeforeICOutboxSalesLineDelete

[IntegrationEvent(False,False)]
local procedure OnMoveOutboxTransToHandledOutboxOnBeforeICOutboxSalesLineDelete(ICOutboxSalesLine: Record "IC Outbox Sales Line", HandledICOutboxSalesLine: Record "Handled IC Outbox Sales Line")

Parameters

Name Type Description
ICOutboxSalesLine Table Microsoft.Intercompany.Outbox."IC Outbox Sales Line"
HandledICOutboxSalesLine Table Microsoft.Intercompany.Outbox."Handled IC Outbox Sales Line"

OnOutboxJnlLineToInboxOnBeforeICInboxJnlLineInsert

[IntegrationEvent(False,False)]
local procedure OnOutboxJnlLineToInboxOnBeforeICInboxJnlLineInsert(var ICInboxJnlLine: Record "IC Inbox Jnl. Line", var ICOutboxJnlLine: Record "IC Outbox Jnl. Line")

Parameters

Name Type Description
ICInboxJnlLine Table Microsoft.Intercompany.Inbox."IC Inbox Jnl. Line"
ICOutboxJnlLine Table Microsoft.Intercompany.Outbox."IC Outbox Jnl. Line"

OnSendPurchDocOnBeforeReleasePurchDocument

[IntegrationEvent(False,False)]
local procedure OnSendPurchDocOnBeforeReleasePurchDocument(var PurchaseHeader: Record "Purchase Header", var Post: Boolean)

Parameters

Name Type Description
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"
Post Boolean

OnSendSalesDocOnBeforeReleaseSalesDocument

[IntegrationEvent(False,False)]
local procedure OnSendSalesDocOnBeforeReleaseSalesDocument(var SalesHeader: Record "Sales Header", var Post: Boolean)

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"
Post Boolean

OnSendSalesDocOnbeforeTestSendICDocument

[IntegrationEvent(False,False)]
local procedure OnSendSalesDocOnbeforeTestSendICDocument(var SalesHeader: Record "Sales Header", var IsHandled: Boolean)

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"
IsHandled Boolean

OnCreateSalesLinesOnBeforeCalcPriceAndAmounts

[IntegrationEvent(False,False)]
local procedure OnCreateSalesLinesOnBeforeCalcPriceAndAmounts(var SalesHeader: Record "Sales Header", var SalesLine: Record "Sales Line", var IsHandled: Boolean)

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"
SalesLine Table Microsoft.Sales.Document."Sales Line"
IsHandled Boolean

OnCreatePurchLinesOnBeforeCalcPriceAndAmounts

[IntegrationEvent(False,False)]
local procedure OnCreatePurchLinesOnBeforeCalcPriceAndAmounts(var PurchaseHeader: Record "Purchase Header", var PurchaseLine: Record "Purchase Line", var IsHandled: Boolean)

Parameters

Name Type Description
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
IsHandled Boolean

OnCreateSalesLinesOnBeforeValidateUnitOfMeasureCode

[IntegrationEvent(False,False)]
local procedure OnCreateSalesLinesOnBeforeValidateUnitOfMeasureCode(var SalesLine: Record "Sales Line", ICInboxSalesLine: Record "IC Inbox Sales Line", var IsHandled: Boolean)

Parameters

Name Type Description
SalesLine Table Microsoft.Sales.Document."Sales Line"
ICInboxSalesLine Table Microsoft.Intercompany.Inbox."IC Inbox Sales Line"
IsHandled Boolean

OnBeforeUpdateSalesHeader

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateSalesHeader(var SalesHeader: Record "Sales Header", ICInboxSalesHeader: Record "IC Inbox Sales Header", var ICDocDim: Record "IC Document Dimension", ReplacePostingDate: Boolean, PostingDate: Date)

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"
ICInboxSalesHeader Table Microsoft.Intercompany.Inbox."IC Inbox Sales Header"
ICDocDim Table Microsoft.Intercompany.Dimension."IC Document Dimension"
ReplacePostingDate Boolean
PostingDate Date

OnBeforeUpdatePurchaseHeader

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdatePurchaseHeader(var PurchHeader: Record "Purchase Header", ICInboxPurchHeader: Record "IC Inbox Purchase Header", var ICDocDim: Record "IC Document Dimension", ReplacePostingDate: Boolean, PostingDate: Date)

Parameters

Name Type Description
PurchHeader Table Microsoft.Purchases.Document."Purchase Header"
ICInboxPurchHeader Table Microsoft.Intercompany.Inbox."IC Inbox Purchase Header"
ICDocDim Table Microsoft.Intercompany.Dimension."IC Document Dimension"
ReplacePostingDate Boolean
PostingDate Date

OnCreateSalesDocumentOnAfterICInboxSalesLineSetFilters

[IntegrationEvent(False,False)]
local procedure OnCreateSalesDocumentOnAfterICInboxSalesLineSetFilters(var ICInboxSalesLine: Record "IC Inbox Sales Line", ICInboxSalesHeader: Record "IC Inbox Sales Header")

Parameters

Name Type Description
ICInboxSalesLine Table Microsoft.Intercompany.Inbox."IC Inbox Sales Line"
ICInboxSalesHeader Table Microsoft.Intercompany.Inbox."IC Inbox Sales Header"

OnCreatePurchDocumentOnAfterICInboxPurchLineSetFilters

[IntegrationEvent(False,False)]
local procedure OnCreatePurchDocumentOnAfterICInboxPurchLineSetFilters(var ICInboxPurchLine: Record "IC Inbox Purchase Line", ICInboxPurchHeader: Record "IC Inbox Purchase Header")

Parameters

Name Type Description
ICInboxPurchLine Table Microsoft.Intercompany.Inbox."IC Inbox Purchase Line"
ICInboxPurchHeader Table Microsoft.Intercompany.Inbox."IC Inbox Purchase Header"

OnBeforeCreateSalesLines

[IntegrationEvent(False,False)]
local procedure OnBeforeCreateSalesLines(SalesHeader: Record "Sales Header", var ICInboxSalesLine: Record "IC Inbox Sales Line", var IsHandled: Boolean)

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"
ICInboxSalesLine Table Microsoft.Intercompany.Inbox."IC Inbox Sales Line"
IsHandled Boolean

OnBeforeCreatePurchLines

[IntegrationEvent(False,False)]
local procedure OnBeforeCreatePurchLines(PurchHeader: Record "Purchase Header", var ICInboxPurchLine: Record "IC Inbox Purchase Line", var IsHandled: Boolean)

Parameters

Name Type Description
PurchHeader Table Microsoft.Purchases.Document."Purchase Header"
ICInboxPurchLine Table Microsoft.Intercompany.Inbox."IC Inbox Purchase Line"
IsHandled Boolean

OnUpdatePurchLineReceiptShipmentOnBeforeCopyHandledItemTrkgToPurchLine

[IntegrationEvent(False,False)]
local procedure OnUpdatePurchLineReceiptShipmentOnBeforeCopyHandledItemTrkgToPurchLine(var PurchaseLine: Record "Purchase Line", var IsHandled: Boolean)

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
IsHandled Boolean

OnUpdatePurchLineReceiptShipmentOnBeforeCopyHandledItemTrkgToInvLine

[IntegrationEvent(False,False)]
local procedure OnUpdatePurchLineReceiptShipmentOnBeforeCopyHandledItemTrkgToInvLine(var PurchaseLine: Record "Purchase Line", var IsHandled: Boolean)

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
IsHandled Boolean

OnAfterSendPurchDoc

[IntegrationEvent(False,False)]
local procedure OnAfterSendPurchDoc(var PurchaseHeader: Record "Purchase Header", var Post: Boolean)

Parameters

Name Type Description
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"
Post Boolean

OnAfterSendSalesDoc

[IntegrationEvent(False,False)]
local procedure OnAfterSendSalesDoc(var SalesHeader: Record "Sales Header", var Post: Boolean)

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"
Post Boolean

OnBeforeRejectAcceptedSalesHeader

[IntegrationEvent(False,False)]
local procedure OnBeforeRejectAcceptedSalesHeader(var SalesHeader: Record "Sales Header", var IsHandled: Boolean)

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"
IsHandled Boolean

OnBeforeOutboxJnlLineToInbox

[IntegrationEvent(False,False)]
local procedure OnBeforeOutboxJnlLineToInbox(var ICInboxTransaction: Record "IC Inbox Transaction", var ICOutboxJnlLine: Record "IC Outbox Jnl. Line", var ICInboxJnlLine: Record "IC Inbox Jnl. Line", var ICPartner: Record "IC Partner", var IsHandled: Boolean)

Parameters

Name Type Description
ICInboxTransaction Table Microsoft.Intercompany.Inbox."IC Inbox Transaction"
ICOutboxJnlLine Table Microsoft.Intercompany.Outbox."IC Outbox Jnl. Line"
ICInboxJnlLine Table Microsoft.Intercompany.Inbox."IC Inbox Jnl. Line"
ICPartner Table Microsoft.Intercompany.Partner."IC Partner"
IsHandled Boolean

OnCreateOutboxSalesDocTransOnBeforeLoop

[IntegrationEvent(False,False)]
local procedure OnCreateOutboxSalesDocTransOnBeforeLoop(var SalesLine: Record "Sales Line")

Parameters

Name Type Description
SalesLine Table Microsoft.Sales.Document."Sales Line"

See also