Event Publishers for Document Capture 2023 R2 (12.00)

The following event publishers are included in Continia Document Capture 2023 R2 (12.00):

Table 6085575 CDC Document Category

Event nameOnGetJournalTemplateTableIDOnAfterSetAllObjWithCaption
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar TempAllObjWithCaption: Record AllObjWithCaption temporary
From version12.0.0.0
Event nameOnAfterLookupJournalTemplateName
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocumentCategory: Record "CDC Document Category"
From version12.0.0.0
Event nameOnAfterLookupJournalBatchName
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocumentCategory: Record "CDC Document Category"
From version12.0.0.0

Table 6085579 CDC Template

Event nameOnCloneCDCTemplate
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar FromTemplate: Record "CDC Template"
var ToTemplate: Record "CDC Template"
From version12.0.0.0

Table 6085580 CDC Template Field

Event nameOnBeforeClone
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersFromCompany: Text[30]
FromField: Record "CDC Template Field"
ToTemplate: Record "CDC Template"
CreatedFromMasterTemplate: Boolean
var Handled: Boolean
From version12.0.0.0

Table 6085590 CDC Document

Event nameOnBeforeRegisterHideErrors
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var DocIsRegistered: Boolean
var Handled: Boolean
From version12.0.0.0
Event nameOnAfterTestStatus
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
From version12.0.0.0
Event nameOnBeforeFindTemplateInCompanies
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar FromCompany: Text[30]
var FromTemplate: Record "CDC Template"
SourceName: Text[250]
var Result: Boolean
var IsHandle: Boolean
From version12.0.0.0
Event nameOnOpenPdfFile
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var TempFile: Record "CDC Temp File"
From version12.0.0.0
Event nameOnBeforeRegisterYN
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeHasWarningComments
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar HandledHasWarningComments: Boolean
From version12.0.0.0
Event nameOnAfterBuildTempLinesTable2
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar TempDocumentLine: Record "CDC Temp. Document Line"
From version12.0.0.0

Table 6085596 CDC Temp. Document Line

Event nameOnBeforeInsertMatchSpecification
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar DocumentLine: Record "CDC Temp. Document Line"
PurchDocMatch: Record "CDC Purch. Doc. Match"
var MatchSpec: Record "CDC Purch. Doc. Match Spec."
From version12.0.0.0

Table 6085614 CDC Temp File

Event nameOnSaveFileWithDialog
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar TempFile: Record "CDC Temp File" temporary
WindowTitle: Text[50]
FilterString: Text
var Ok: Boolean
From version12.0.0.0
Event nameOnCreateFromClientFilePath
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar TempFile: Record "CDC Temp File" temporary
ClientFilePath: Text
From version12.0.0.0
Event nameOnCheckFilePathLength
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar TempFile: Record "CDC Temp File" temporary
ClientFilePath: Text
From version12.0.0.0
Event nameOnSaveToClient
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar TempFile: Record "CDC Temp File" temporary
var ClientFilePath: Text
From version12.0.0.0

Table 6085767 CDC Purchase Header Info.

Event nameOnBeforeUpdateApprvlFlowCode
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersPurchHeader: Record "Purchase Header"
NewCode: Code[10]
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeIsApprovalFlowVisible
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Handled: Boolean
From version12.0.0.0

Table 6225182 CDC Purch. Contract Header

Event nameOnAfterValidateShortcutDimCode
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchContractHeader: Record "CDC Purch. Contract Header"
xPurchContractHeader: Record "CDC Purch. Contract Header"
FieldNumber: Integer
var ShortcutDimCode: Code[20]
From version12.0.0.0
Event nameOnBeforeUpdateAllLineDim
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchContractHeader: Record "CDC Purch. Contract Header"
NewParentDimSetID: Integer
OldParentDimSetID: Integer
var IsHandled: Boolean
From version12.0.0.0
Event nameOnUpdateAllLineDimOnBeforePurchContrLineModify
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchContractLine: Record "CDC Purch. Contract Line"
From version12.0.0.0
Event nameOnAfterConfirmPurchPrice
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchContractHeader: Record "CDC Purch. Contract Header"
var PurchContractLine: Record "CDC Purch. Contract Line"
var RecalculateLines: Boolean
From version12.0.0.0
Event nameOnUpdatePurchContractLinesByChangedFieldName
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersPurchContractHeader: Record "CDC Purch. Contract Header"
var PurchContractLine: Record "CDC Purch. Contract Line"
ChangedFieldName: Text[100]
From version12.0.0.0
Event nameOnAfterChangePricesIncludingVAT
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchContractHeader: Record "CDC Purch. Contract Header"
From version12.0.0.0
Event nameOnAfterUpdateCurrencyFactor
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchContractHeader: Record "CDC Purch. Contract Header"
HideValidationDialog: Boolean
From version12.0.0.0
Event nameOnBeforeUpdateCurrencyFactor
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchContractHeader: Record "CDC Purch. Contract Header"
var Updated: Boolean
From version12.0.0.0
Event nameOnAfterCreateDimTableIDs
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchContractHeader: Record "CDC Purch. Contract Header"
CallingFieldNo: Integer
var TableID: array[10] of Integer
var No: array[10] of Code[20]
var DimPriorityCode: Code[10]
From version12.0.0.0

Table 6225183 CDC Purch. Contract Line

Event nameOnAfterCreateDimTableIDs
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchContractLine: Record "CDC Purch. Contract Line"
CallingFieldNo: Integer
var TableID: array[10] of Integer
var No: array[10] of Code[20]
From version12.0.0.0
Event nameOnAfterGetPurchHeader
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchContractLine: Record "CDC Purch. Contract Line"
var PurchContractHeader: Record "CDC Purch. Contract Header"
From version12.0.0.0
Event nameOnAfterUpdateAmounts
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchContractLine: Record "CDC Purch. Contract Line"
var xPurchContractLine: Record "CDC Purch. Contract Line"
CurrFieldNo: Integer
From version12.0.0.0

Page 6085593 CDC Doc. Capture Client Addin

Event nameOnAfterLineUpdateFieldValue
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parameters"Page": Record "CDC Document Page"
var "Field": Record "CDC Template Field"
Top: Integer
Left: Integer
Bottom: Integer
Right: Integer
LineNo: Integer
Word: Text[1024]
From version12.0.0.0
Event nameOnBeforeCaptureEnded
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersPageNo: Integer
"Area": Code[20]
FieldName: Text[1024]
LineNo: Integer
IsValue: Boolean
Top: Integer
Left: Integer
Bottom: Integer
Right: Integer
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeHandleXmlCommand
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
Command: Text[1024]
var Handled: Boolean
From version12.0.0.0

Page 6085597 CDC Document Lines ListPart

Event nameOnBeforeUpdateFieldValue
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar TempDocumentLine: Record "CDC Temp. Document Line"
From version12.0.0.0

Page 6085600 CDC Document List With Image

Event nameOnBeforeSetSourceNoNameVisibility
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersCurrentDocCategory: Code[20]
HasSourceTableNo: Boolean
var IsSourceNoNameVisible: Boolean
var IsHandled: Boolean
From version12.0.0.0
Event nameOnBeforeSetSourceVATRegistrationNoVisibility
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersCurrentDocCategory: Code[20]
HasSourceTableNo: Boolean
var IsSourceVATRegistrationNoVisible: Boolean
var IsHandled: Boolean
From version12.0.0.0
Event nameOnUpdateListOnBeforeCurrPageUpdate
Event typeIntegrationEvent(IncludeSender : true, GlobalVarAccess : false)
ParametersCurrentDocCategory: Code[20]
From version12.0.0.0
Event nameOnBeforeSetEditableFromParent
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Rec: Record "CDC Document"
var AllowEdit: Boolean
From version12.0.0.0
Event nameOnAfterGetSource
Event typeIntegrationEvent(IncludeSender : true, GlobalVarAccess : false)
Parametersvar Rec: Record "CDC Document"
var SourceID: Text[250]
var SourceName: Text[1024]
From version12.0.0.0
Event nameOnPageFindRecord
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Rec: Record "CDC Document"
CurrentDocCategory: Code[20]
Which: Text
var Found: Boolean
var IsHandled: Boolean
From version12.0.0.0
Event nameOnPageNextRecord
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Rec: Record "CDC Document"
CurrentDocCategory: Code[20]
Steps: Integer
var NextStep: Integer
var IsHandled: Boolean
From version12.0.0.0

Page 6085612 CDC Continia Config. Subpage

Event nameOnModifyTempTableOnBeforeGetEntryNo
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Rec: Record "CDC Temp. Configuration Line"
var TempConfigLine: Record "CDC Temp. Configuration Line"
EntryNo: Integer
IsIncluded: Boolean
From version12.0.0.0

Page 6085702 CDC Purch. Invoice Match

Event nameOnAfterSetFilterPurchRcptLine
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchRcptLine: Record "Purch. Rcpt. Line"
var Document: record "CDC Document"
From version12.0.0.0
Event nameOnAfterSetFilterPurchLine
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchaseLine: Record "Purchase Line"
var Document: record "CDC Document"
From version12.0.0.0

Page 6085759 CDC Document Files Factbox

Event nameFileCopyCompleted
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar TempFile: Record "CDC Temp File"
var Document: Record "CDC Document"
From version12.0.0.0

Page 6085813 CDC Document File Viewer

Event nameOnBeforeHandleXmlCommand
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
Command: Text[1024]
var Handled: Boolean
From version12.0.0.0

Page 6085999 CDC Change Document Amount 2

Event nameOnAfterSetSourceRecord
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar RecordVariant: Variant
var DocumentType: Text
var DocumentNo: Text
var PayToName: Text
var CurrencyCode: Code[10]
From version12.0.0.0

Page 6086002 CDC Purch. Doc. (WS)

Event nameOnGetDocHeaderAmounts
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchHeader: Record "Purchase Header"
var ImportedAmountExclVAT: Decimal
var ImportedAmountInclVAT: Decimal
var IsHandled: Boolean
var AssignedAmountExclVAT: Decimal
var AssignedAmountInclVAT: Decimal
From version12.0.0.0
Event nameOnBeforeGetDocFilename
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchHeader: Record "Purchase Header"
var ReturnValue: Text[1024]
var IsHandled: Boolean
From version12.0.0.0
Event nameOnAfterGetDocFilename
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchHeader: Record "Purchase Header"
var ReturnValue: Text[1024]
var IsHandled: Boolean
From version12.0.0.0

Page 6086019 CDC Purch. Posted Inv. (WS)

Event nameOnBeforeGetDocFilename
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchInvHeader: Record "Purch. Inv. Header"
var ReturnValue: Text[1024]
var IsHandled: Boolean
From version12.0.0.0
Event nameOnAfterGetDocFilename
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchInvHeader: Record "Purch. Inv. Header"
var ReturnValue: Text[1024]
var IsHandled: Boolean
From version12.0.0.0

Page 6086021 CDC Purch. Posted Cr.Memo (WS)

Event nameOnBeforeGetDocFilename
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr."
var ReturnValue: Text[1024]
var IsHandled: Boolean
From version12.0.0.0
Event nameOnAfterGetDocFilename
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr."
var ReturnValue: Text[1024]
var IsHandled: Boolean
From version12.0.0.0

Page 6086038 CDC Document Files (WS)

Event nameOnBeforeOnFindRecord
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersWhich: Text[1024]
var Rec: Record "CDC Document"
var RecordFound: Boolean
var IsHandled: Boolean
From version12.0.0.0
Event nameOnBeforeOnNextRecord
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersSteps: Integer
var Rec: Record "CDC Document"
var CurrentSteps: Integer
var IsHandled: Boolean
From version12.0.0.0

Page 6225250 CDC Contr. Line Exp. FactBox

Event nameOnPageAfterGetRecord
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchContractLine: Record "CDC Purch. Contract Line"
var NoOfOpenExpenses: Integer
var NoOfPostedExpenses: Integer
From version12.0.0.0
Event nameOnOpenExpensesDrillDown
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchContractLine: Record "CDC Purch. Contract Line"
From version12.0.0.0
Event nameOnPostedExpensesDrillDown
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchContractLine: Record "CDC Purch. Contract Line"
From version12.0.0.0

Codeunit 6085575 CDC Capture Engine

Event nameOnBeforeRunLineCaptureCodeunit
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeCaptureField2
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
PageNo: Integer
var "Field": Record "CDC Template Field"
UpdateFieldCaption: Boolean
var FieldCaption: Record "CDC Template Field Caption"
var Handled: Boolean
var Word: Text[1024]
From version12.0.0.0
Event nameOnAfterCaptureField2
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
PageNo: Integer
var "Field": Record "CDC Template Field"
UpdateFieldCaption: Boolean
var FieldCaption: Record "CDC Template Field Caption"
var Handled: Boolean
var Word: Text[1024]
From version12.0.0.0
Event nameOnBeforeBufferWords
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocumentNo: Code[20]
PageNo: Integer
var Words: Record "CDC Document Word"
var GlobalWords: Record "CDC Document Word"
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeFindDocumentSource
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var IsHandled: Boolean
From version12.0.0.0
Event nameOnAfterFindDocumentSource
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
From version12.0.0.0
Event nameOnBeforeAfterCapture
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var IsHandled: Boolean
From version12.0.0.0
Event nameOnBeforeValidateDocument
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var IsHandled: Boolean
From version12.0.0.0
Event nameOnBeforeAutoDelegateDocument
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var IsHandled: Boolean
From version12.0.0.0
Event nameOnBeforeModifyDocumentWhenCaptureDocument
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
Template: Record "CDC Template"
From version12.0.0.0
Event nameOnGetFieldCaptionOnBeforeSetPosition
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersFieldCaption: Record "CDC Template Field Caption"
DocumentNo: Code[20]
var Margin: Decimal
From version12.0.0.0

Codeunit 6085576 CDC Capture Management

Event nameOnBeforeUpdateFieldValueCapture
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocumentNo: Code[20]
PageNo: Integer
LineNo: Integer
var "Field": Record "CDC Template Field"
var Word: Text[1024]
Manual: Boolean
UpdatedByUser: Boolean
var Handled: Boolean
From version12.0.0.0
Event nameOnAfterUpdateFieldValue
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocumentNo: Code[20]
PageNo: Integer
LineNo: Integer
var "Field": Record "CDC Template Field"
Word: Text[1024]
Manual: Boolean
UpdatedByUser: Boolean
From version12.0.0.0
Event nameOnBeforeApplyTranslationToWord
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar "Field": Record "CDC Template Field"
Word: Text[1024]
var Handled: Boolean
var ResultWord: Text[1024]
From version12.0.0.0
Event nameOnAfterApplyTranslationToWord
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar "Field": Record "CDC Template Field"
var Word: Text[1024]
From version12.0.0.0
Event nameOnCaseElseTransferDestFields
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersValue: Record "CDC Document Value"
FieldRef: FieldRef
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeCreateXmlAttachment
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var XmlDoc: Codeunit "CSC XML Document"
var AttachmentXmlNode: Codeunit "CSC XML Node"
var AttachmentFilename: Text[1024]
From version12.0.0.0
Event nameOnBeforeUpdateFieldCaption
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar "Field": Record "CDC Template Field"
PageNo: Integer
Top: Integer
Left: Integer
DPI: Integer
Word: Text[1024]
var IsHandled: Boolean
From version12.0.0.0
Event nameOnBeforeCreateXmlUriAttachment
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var XmlDoc: Codeunit "CSC XML Document"
var AttachmentXmlNode: Codeunit "CSC XML Node"
var AttachmentFilename: Text[1024]
From version12.0.0.0
Event nameOnAfterSetDocumentWordFilters
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var Template: Record "CDC Template"
PageNo: Integer
var DocumentWord: Record "CDC Document Word"
From version12.0.0.0

Codeunit 6085577 CDC Document Importer

Event nameOnAfterImportDocument2
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
DocCatCode: Code[20]
Path: Text[1024]
Filename: Text[199]
From version12.0.0.0
Event nameOnCheckDocAutoReg
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var Handle: Boolean
From version12.0.0.0

Codeunit 6085579 CDC Doc. - Search Word Ident.

Event nameOnBeforeOnRun
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeExcludeSource
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersCategoryCode: Code[10]
SourceRecordIdTreeId: Integer
var ExcludeSource: Boolean
var Handled: Boolean
From version12.0.0.0

Codeunit 6085583 CDC Navigate Document Capture

Event nameOnAfterFilterDocuments
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Doc2: Record "CDC Document" temporary
DocNoFilter: Code[250]
PostingDateFilter: Text[250]
From version12.0.0.0

Codeunit 6085598 CDC SmtpMail Management

Event nameOnBeforeIsValidEmail
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersEmailAddress: Text[1024]
var IsValidEmailAddress: Boolean
var IsHandled: Boolean
From version12.0.0.0

Codeunit 6085602 CDC Document Attachment Mgt.

Event nameOnBeforeCreateTempDocumentList
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar TempDoc: Record "CDC Temp. Document"
RecID: RecordID
CreatedDocTableNo: Integer
CreatedDocSubtype: Integer
CreatedDocNo: Code[20]
CreatedDocRefNo: Integer
ShowAllDocs: Boolean
var Handled: Boolean
From version12.0.0.0
Event nameOnAfterCreateTempDocumentList
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar TempDoc: Record "CDC Temp. Document"
RecID: RecordID
CreatedDocTableNo: Integer
CreatedDocSubtype: Integer
CreatedDocNo: Code[20]
CreatedDocRefNo: Integer
ShowAllDocs: Boolean
From version12.0.0.0
Event nameOnBeforeCreateTempDocListFromNavigate
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar TempDoc: Record "CDC Temp. Document"
PostingDate: Date
DocNo: Code[250]
var Handled: Boolean
From version12.0.0.0
Event nameOnAfterCreateTempDocListFromNavigate
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar TempDoc: Record "CDC Temp. Document"
PostingDate: Date
DocNo: Code[250]
From version12.0.0.0
Event nameOnBeforeEditDocumentFile
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersTempDoc: Record "CDC Temp. Document"
var Handled: Boolean
From version12.0.0.0
Event nameOnAfterEditDocumentFile
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersTempDoc: Record "CDC Temp. Document"
From version12.0.0.0
Event nameOnBeforeDeleteDocumentFile
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersTempDoc: Record "CDC Temp. Document"
var ReturnValue: Boolean
var Handled: Boolean
From version12.0.0.0
Event nameOnAfterDeleteDocumentFile
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersTempDoc: Record "CDC Temp. Document"
From version12.0.0.0
Event nameOnBeforeModifyDocumentFile
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersTempDoc: Record "CDC Temp. Document"
var ReturnValue: Boolean
var Handled: Boolean
From version12.0.0.0
Event nameOnAfterModifyDocumentFile
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersTempDoc: Record "CDC Temp. Document"
From version12.0.0.0
Event nameOnBeforeShowDocumentCard
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersTempDoc: Record "CDC Temp. Document"
var ReturnValue: Boolean
var Handled: Boolean
From version12.0.0.0
Event nameOnAfterShowDocumentCard
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersTempDoc: Record "CDC Temp. Document"
From version12.0.0.0
Event nameOnBeforeCreateDocument
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
RecID: RecordID
CreatedDocTableNo: Integer
CreatedDocSubtype: Integer
CreatedDocNo: Code[20]
CreatedDocRefNo: Integer
DocCat: Code[20]
NewDescription: Text[1024]
NewExtension: Text[20]
var Handled: Boolean
From version12.0.0.0
Event nameOnAfterCreateDocument
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
RecID: RecordID
CreatedDocTableNo: Integer
CreatedDocSubtype: Integer
CreatedDocNo: Code[20]
CreatedDocRefNo: Integer
DocCat: Code[20]
NewDescription: Text[1024]
NewExtension: Text[20]
From version12.0.0.0

Codeunit 6085610 CDC Document Search Mgnt.

Event nameOnBeforeSearchResultInsert
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var SearchResult: Record "CDC Document Search Result"
From version12.0.0.0

Codeunit 6085619 CDC Export Continia Users

Event nameOnBeforeAppendUser
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar SmtpMailMgt: Codeunit "CDC SmtpMail Management"
var IsHandled: Boolean
From version12.0.0.0

Codeunit 6085640 CDC Doc. File Events

Event nameOnHasFile
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersFileName: Text[1024]
Company: Text[50]
DocumentNo: Code[20]
FileType: Integer
var Result: Boolean
var Handled: Boolean
From version12.0.0.0
Event nameOnClearFile
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersFileName: Text[1024]
Company: Text[50]
DocumentNo: Code[20]
FileType: Integer
var Result: Boolean
var Handled: Boolean
From version12.0.0.0
Event nameOnGetFile
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersFileName: Text[1024]
Company: Text[50]
DocumentNo: Code[20]
FileType: Integer
var TempFile: Record "CDC Temp File" temporary
var Result: Boolean
var Handled: Boolean
From version12.0.0.0
Event nameOnSetFile
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersFileName: Text[1024]
Company: Text[50]
DocumentNo: Code[20]
FileType: Integer
var TempFile: Record "CDC Temp File" temporary
var Result: Boolean
var Handled: Boolean
From version12.0.0.0

Codeunit 6085699 CDC URL Management

Event nameOnBeforeGetApprovalHyperlink
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar ApprovalHyperlink: Text[1024]
var IsHandled: Boolean
From version12.0.0.0

Codeunit 6085702 CDC Purch. Doc. - Identificat.

Event nameOnAfterFindVendorBeforeModify
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var "Field": Record "CDC Template Field"
var FieldCaption: Record "CDC Template Field Caption"
var VatRegNo: Code[20]
var FoundVendor: Record Vendor
var Found: Boolean
From version12.0.0.0

Codeunit 6085703 CDC Purch. - Full Capture

Event nameOnAfterFullCapture
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
From version12.0.0.0
Event nameOnBeforeCalculateDueDate
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeAdjustMissingQty
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeAdjustMissingFields
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var Handled: Boolean
From version12.0.0.0

Codeunit 6085704 CDC Purch. - Line Validation

Event nameOnBeforeLineValidation
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar TempDocumentLine: Record "CDC Temp. Document Line"
Document: Record "CDC Document"
var Handled: Boolean
From version12.0.0.0

Codeunit 6085705 CDC Purch. - Validation

Event nameOnBeforeBuildTempLinesTable
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var DocumentLines: Record "CDC Temp. Document Line" temporary
var IsValid: Boolean
var LinesHandled: Boolean
From version12.0.0.0
Event nameOnBeforeMatchValidation
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var DocumentLine: Record "CDC Temp. Document Line" temporary
var IsValid: Boolean
From version12.0.0.0
Event nameOnBeforeGetDocumentDate
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var DueDate: Date
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeTotalAmountNegCheck
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var IsValid: Boolean
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeCheckExternalDocNo
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
ExtDocNo: Code[250]
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeValidateAmtAccounts
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var Template: Record "CDC Template"
var IsInvalid: Boolean
var IsHandled: Boolean
From version12.0.0.0
Event nameOnAfterValidateDocument
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var IsInvalid: Boolean
From version12.0.0.0

Codeunit 6085706 CDC Purch. - Register

Event nameOnBeforeGetOrderNoUpdateOrderWithMatch
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersPurchDocMatch: Record "CDC Purch. Doc. Match"
Template: Record "CDC Template"
var OrderNo: Code[100]
IsInvoice: Boolean
var Handled: Boolean
From version12.0.0.0
ObsoleteReplaced by OnBeforeGetOrderNoUpdateOrderWithMatch2
Event nameOnBeforeGetOrderNoUpdateOrderWithMatch2
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersPurchDocMatch: Record "CDC Purch. Doc. Match"
Template: Record "CDC Template"
var OrderNo: Code[100]
DocumentType: Integer
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeCreatePurchHeaderCopyHeaderDim
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersPurchDocMatch: Record "CDC Purch. Doc. Match"
var PurchHeader: Record "Purchase Header"
PurchaserCode: Code[20]
IsInvoice: Boolean
var Handled: Boolean
From version12.0.0.0
ObsoleteReplaced by OnBeforeCreatePurchHeaderCopyHeaderDim2
Event nameOnBeforeCreatePurchHeaderCopyHeaderDim2
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersPurchDocMatch: Record "CDC Purch. Doc. Match"
var PurchHeader: Record "Purchase Header"
PurchaserCode: Code[20]
DocumentType: Integer
var Handled: Boolean
From version12.0.0.0
Event nameOnAfterCreateWithoutMatchModifyPurchLine
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var PurchLine: Record "Purchase Line"
DocumentLineNo: Integer
From version12.0.0.0
Event nameOnAfterCreateWithoutMatchLineTrans
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchLine: Record "Purchase Line"
LineTrans: Record "CDC Data Translation"
From version12.0.0.0
Event nameOnBeforeCreateWithMatchCreatePurchLine
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var PurchDocMatch: Record "CDC Purch. Doc. Match"
PurchHeader: Record "Purchase Header"
var PurchLine: Record "Purchase Line"
var NextLineNo: Integer
var Handled: Boolean
From version12.0.0.0
Event nameOnAfterModifyPurchLineCreatePurchLine
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var PurchLine: Record "Purchase Line"
From version12.0.0.0
Event nameOnAfterModifyPurchLineCreatePurchLineAmountDistribution
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var PurchLine: Record "Purchase Line"
IsHeadingLine: Boolean
From version12.0.0.0
Event nameOnAfterCreatePurchLineLineTrans
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchLine: Record "Purchase Line"
DataTransl: Record "CDC Data Translation"
From version12.0.0.0
Event nameOnAfterTransferPurchHeader
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchHeader: Record "Purchase Header"
var Document: Record "CDC Document"
From version12.0.0.0
Event nameOnBeforePurchHeaderInsert
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var PurchHeader: Record "Purchase Header"
From version12.0.0.0
Event nameOnAfterRegister
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
From version12.0.0.0
Event nameOnAfterPerformStep1
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var PurchaseHeader: Record "Purchase Header"
From version12.0.0.0
Event nameOnBeforePerformStep2
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var Template: Record "CDC Template"
var PurchHeader: Record "Purchase Header"
IsInvoice: Boolean
var SkipNextStep: Boolean
var Handled: Boolean
From version12.0.0.0
ObsoleteReplaced by OnBeforePerformStep2DocType
Event nameOnBeforePerformStep2DocType
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var Template: Record "CDC Template"
var PurchHeader: Record "Purchase Header"
DocumentType: Integer
var SkipNextStep: Boolean
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeShowAfterRegister
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var Handled: Boolean
From version12.0.0.0
Event nameOnAfterTransferPurchLine
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchLine: Record "Purchase Line"
Document: Record "CDC Document"
DocumentLineNo: Integer
From version12.0.0.0
Event nameOnAfterCreateWithoutMatchSetAccountRequired
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var DocumentLine: Record "CDC Temp. Document Line" temporary
var AccountRequired: Boolean
From version12.0.0.0
Event nameOnBeforeCreateWithMatchGetPurchLine
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersPurchDocMatch: Record "CDC Purch. Doc. Match"
var PurchaseLine: Record "Purchase Line"
var NextLineNo: Integer
var PurchLineGetHandled: Boolean
From version12.0.0.0
Event nameOnAfterCreatePurchHeaderWithoutMatch
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var PurchHeader: Record "Purchase Header"
IsInvoice: Boolean
From version12.0.0.0
ObsoleteReplaced by OnAfterCreatePurchHeaderWithoutMatch2
Event nameOnAfterCreatePurchHeaderWithoutMatch2
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var PurchHeader: Record "Purchase Header"
DocumentType: Integer
From version12.0.0.0
Event nameOnAfterCreatePurchHeaderWithMatch
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var PurchHeader: Record "Purchase Header"
IsInvoice: Boolean
From version12.0.0.0
ObsoleteReplaced by OnAfterCreatePurchHeaderWithMatch2
Event nameOnAfterCreatePurchHeaderWithMatch2
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var PurchHeader: Record "Purchase Header"
DocumentType: Integer
From version12.0.0.0
Event nameOnBeforeCreateJournalInsert
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var GenJournalLine: Record "Gen. Journal Line"
DocumentLineNo: Integer
From version12.0.0.0
Event nameOnAfterCreateJournalModify
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var GenJournalLine: Record "Gen. Journal Line"
DocumentLineNo: Integer
From version12.0.0.0
Event nameOnBeforeCreateVendorGenJnlLineInsert
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var GenJournalLine: Record "Gen. Journal Line"
From version12.0.0.0
Event nameOnAfterCreatingVendorGenJnlLine
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var GenJournalLine: Record "Gen. Journal Line"
From version12.0.0.0
Event nameOnBeforeTransferLineDim
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
LineNo: Integer
var PurchLine: Record "Purchase Line"
var LineTrans: Record "CDC Data Translation"
var IsHandled: Boolean
From version12.0.0.0
Event nameOnBeforeModifyPurchLineCreateMatchVarianceLine
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersPurchaseHeader: Record "Purchase Header"
var PurchaseLine: Record "Purchase Line"
From version12.0.0.0
Event nameOnBeforeCreateWithoutMatchCreateLinesByHeaderAmounts
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var PurchaseHeader: Record "Purchase Header"
PurchaserCode: Code[20]
IsInvoice: Boolean
var IsHandled: Boolean
From version12.0.0.0
ObsoleteReplaced by OnBeforeCreateWithoutMatchCreateLinesByHeaderAmounts2
Event nameOnBeforeCreateWithoutMatchCreateLinesByHeaderAmounts2
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var PurchaseHeader: Record "Purchase Header"
PurchaserCode: Code[20]
DocumentType: Integer
var IsHandled: Boolean
From version12.0.0.0
Event nameOnBeforeRegisterDocument
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
From version12.0.0.0
Event nameOnBeforeCreateHeaderAmounts
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var PurchHeader: Record "Purchase Header"
var "Field": Record "CDC Template Field"
var Template: Record "CDC Template"
LinesRecognised: Boolean
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeCreateHeaderAmountsWithTextLines
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var PurchHeader: Record "Purchase Header"
var "Field": Record "CDC Template Field"
var Template: Record "CDC Template"
LinesRecognised: Boolean
TextLineArray: array[50] of Text[1024]
NoOfTextLines: Integer
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforePerformStep1
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
ActionToPerform: Option CreateWithoutMatch,CreateWithMatch,UpdateOrderWithMatch,CreateJournal
From version12.0.0.0
Event nameOnBeforeProcessDocumentLines
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar TempDocumentLine: Record "CDC Temp. Document Line" temporary
PurchaseHeader: Record "Purchase Header"
From version12.0.0.0
Event nameOnBeforeCheckWMS
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersPurchLine: Record "Purchase Line"
var IsHandled: Boolean
From version12.0.0.0
Event nameOnBeforePostPrepayment
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var PurchHeader: Record "Purchase Header"
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeModifyPurchHeader
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchaseHeader: Record "Purchase Header"
var Document: Record "CDC Document"
From version12.0.0.0
Event nameOnBeforeCheckDuplicateNumber
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersPurchaseHeader: Record "Purchase Header"
CDCDocument: Record "CDC Document"
OrderNo: Code[100]
From version12.0.0.0
Event nameOnAfterValidateDocument
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
From version12.0.0.0
Event nameOnBeforeTransferPurchHeader
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchHeader: Record "Purchase Header"
var Document: Record "CDC Document"
From version12.0.0.0

Codeunit 6085709 CDC Purch. Doc. - Management

Event nameOnBeforeAutoMatchSetDocumentMatchStatusWithOrderNoFilter
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
OrderNoFilter: Code[1024]
var Matched: Boolean
From version12.0.0.0
Event nameOnBeforeAutoMatchNoLinesTryMatchAmounts
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
Template: Record "CDC Template"
PurchDocType: Option Receipt "Return Shipment","Order","Return Order"
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeIsDocMatched
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var IsDocMatched: Boolean
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeGetDocMatchedAmount
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var MatchedAmount: Decimal
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeGetLineAmount
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
LineNo: Integer
var ReturnValue: Decimal
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeGetLineTranslAccountNo
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Template: Record "CDC Template"
var Document: Record "CDC Document"
LineNo: Integer
var DataTrans: Record "CDC Data Translation"
TranslateFrom: Code[150]
var Handled: Boolean
var FoundTranslation: Boolean
From version12.0.0.0
Event nameOnBeforeCheckMatchToWithTrack
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersPurchOrderLine: Record "Purchase Line"
MatchedToDocType: Option Receipt "Return Shipment","Order","Return Order"
ShowError: Boolean
var Handled: Boolean
var ReturnValue: Boolean
From version12.0.0.0
Event nameOnAfterGetIsInvoice
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var "Field": Record "CDC Template Field"
var IsInvoice: Boolean
var Handled: Boolean
From version12.0.0.0
Event nameOnGetDocumentTypeOnBeforeGetDocType
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var "Field": Record "CDC Template Field"
var FieldRule: Record "CDC Template Field Rule"
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeSplitPurchOrderLine
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchaseLine: Record "Purchase Line"
var AmountOnNewLine: Decimal
var DescriptionOnNewLine: Text[50]
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeInsertPurchDocMatch
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchDocMatch: Record "CDC Purch. Doc. Match"
DocNo: Code[20]
DocLineNo: Integer
PurchDocType: Option Receipt "Return Shipment","Order","Return Order"
PurchDocNo: Code[20]
PurchLineNo: Integer
var AvailMatchQty: Decimal
var DirectUnitCost: Decimal
var LineDiscountPct: Decimal
UpdateMatchTracking: Boolean
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeGetDocLineMatchedQty
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar DocumentLine: Record "CDC Temp. Document Line"
var MatchQty: Decimal
var Handled: Boolean
From version12.0.0.0
Event nameOnAfterSetFiltersAutoMatchOpenPurchDocument
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
DocumentLine: Record "CDC Temp. Document Line" temporary
Template: Record "CDC Template"
OrderNoFilter: Code[1024]
PurchDocType: Option Receipt "Return Shipment","Order","Return Order"
var PurchLine: Record "Purchase Line"
var Stop: Boolean
From version12.0.0.0
Event nameOnAfterCalcAvailMatchQtyAutoMatchOpenPurchDoc
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
DocumentLine: Record "CDC Temp. Document Line" temporary
Template: Record "CDC Template"
PurchLine: Record "Purchase Line"
var AvailableMatchQty: Decimal
From version12.0.0.0
Event nameOnAfterSetFiltersAutoMatchReceipt
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
DocumentLine: Record "CDC Temp. Document Line" temporary
Template: Record "CDC Template"
OrderNoFilter: Code[1024]
var PurchRcptLine: Record "Purch. Rcpt. Line"
var Stop: Boolean
From version12.0.0.0
Event nameOnAfterCalcAvailMatchQtyAutoMatchReceipt
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
DocumentLine: Record "CDC Temp. Document Line" temporary
Template: Record "CDC Template"
PurchRcptLine: Record "Purch. Rcpt. Line"
var AvailableMatchQty: Decimal
From version12.0.0.0
Event nameOnAfterSetFilterAutoMatchReturnShipment
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
DocumentLine: Record "CDC Temp. Document Line" temporary
Template: Record "CDC Template"
OrderNoFilter: Code[1024]
var ReturnShptLine: Record "Return Shipment Line"
var Stop: Boolean
From version12.0.0.0
Event nameOnAfterCalcAvailMatchQtyAutoMatchReturnShpt
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
DocumentLine: Record "CDC Temp. Document Line" temporary
Template: Record "CDC Template"
ReturnShptLine: Record "Return Shipment Line"
var AvailableMatchQty: Decimal
From version12.0.0.0
Event nameOnBeforeInsertMatchSpecByPurchDocMatchShowMatchedSpec
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersPurchDocType: Option Receipt "Return Shipment","Order","Return Order"
PurchDocNo: Code[20]
PurchLineNo: Integer
PurchDocMatch: Record "CDC Purch. Doc. Match"
var MatchSpec: Record "CDC Purch. Doc. Match Spec."
From version12.0.0.0
Event nameOnAfterSetPurchHeaderFilters
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var PurchHeader: Record "Purchase Header"
PurchDocType: Option Receipt "Return Shipment","Order","Return Order"
From version12.0.0.0
Event nameOnAfterSetPurchLineFilters
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var PurchLine: Record "Purchase Line"
PurchDocType: Option Receipt "Return Shipment","Order","Return Order"
From version12.0.0.0
Event nameOnAfterSetPurchRcptLineFilters
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var PurchRcptLine: Record "Purch. Rcpt. Line"
From version12.0.0.0
Event nameOnAfterSetReturnShptLineFilters
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var ReturnShptLine: Record "Return Shipment Line"
From version12.0.0.0
Event nameOnAfterAutoMatchGetOurDocumentNo
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var OurDocumentNo: Code[250]
From version12.0.0.0
Event nameOnAfterAutoMatchSetOrderNoFilter
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var OrderNoFilter: Code[1024]
From version12.0.0.0
Event nameOnBeforeCheckWhseRequirement
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
PurchLine: Record "Purchase Line"
var WhseRequirementDialogHandled: Boolean
From version12.0.0.0
Event nameOnBeforeCheckAgainstImportedAmounts
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersPurchHeader: Record "Purchase Header"
Template: Record "CDC Template"
var ImportedAmountExclVAT: Decimal
var ImportedAmountInclVAT: Decimal
var AssignedAmountExclVAT: Decimal
var AssignedAmountInclVAT: Decimal
var IsHandled: Boolean
From version12.0.0.0
Event nameOnBeforeAutoMatchEnabled
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var Result: Boolean
var IsHandled: Boolean
From version12.0.0.0
Event nameOnBeforeUpdateMatchedQuantity
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
PurchLine: Record "Purchase Line"
Currency: Record Currency
MatchedToDocType: Option Receipt "Return Shipment","Order","Return Order"
MatchedToDocNo: Code[20]
MatchedToLineNo: Integer
MatchedToQuantity: Decimal
QtyAvailableOnMatchedToLine: Decimal
var MatchedQuantity: Decimal
AutoCalcQtyCostsDiscount: Boolean
From version12.0.0.0
Event nameOnBeforeGetWhseRequirementDialogType
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersPurchLine: Record "Purchase Line"
var DialogType: Option "None",ShipError,ReciveError,Shipwarning,ReceiveWarning
var IsHandled: Boolean
From version12.0.0.0
Event nameOnCalculateMatchedQtyOnAfterSetFilter
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDCDocumentNo: Code[20]
MatchedToDocType: Option Receipt "Return Shipment","Order","Return Order"
MatchedToDocNo: Code[20]
MatchedToLineNo: Integer
ForDCDocOnly: Boolean
var PurchDocMatch: Record "CDC Purch. Doc. Match"
From version12.0.0.0
Event nameOnBeforeShowMessages
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
Template: Record "CDC Template"
var ShowTelerenceMsg: Boolean
var ShowRequireReceiveMsg: Boolean
var ShowPOFullyReceivedMsg: Boolean
var ShowNoReceiptExistMsg: Boolean
var ShowReturnShptExistMsg: Boolean
var ShowPOFullyReceivedAndInvoiMsg: Boolean
From version12.0.0.0
Event nameOnAfterAutoMatch
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
From version12.0.0.0
Event nameOnBeforeFindOpenPurchLines
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchDocMatchTmp: Record "CDC Purch. Doc. Match" temporary
var PurchLine: Record "Purchase Line"
DocumentNo: Code[20]
PurchDocType: Option Receipt "Return Shipment","Order","Return Order"
var IsHandled: Boolean
From version12.0.0.0
Event nameOnAfterCalculateMatchedQuantity
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
PurchLine: Record "Purchase Line"
var MatchedQuantity: Decimal
MatchedToQuantity: Decimal
QtyAvailableOnMatchedToLine: Decimal
TotalMatchedQty: Decimal
PrevMatchedQty: Decimal
From version12.0.0.0
Event nameOnBeforeCheckWhseReqAMOpenPurchDoc
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
PurchLine: Record "Purchase Line"
var IsHandled: Boolean
From version12.0.0.0
Event nameOnBeforeAutoMatch
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersCDCDocument: Record "CDC Document"
OurDocumentNo: Code[250]
var Handled: Boolean
From version12.0.0.0

Codeunit 6085712 CDC Purch. Approval E-Mail

Event nameOnAfterApplyApprEntryFilters
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar ApprEntry: Record "Approval Entry"
From version12.0.0.0
Event nameOnBeforeIsNewEventEntry
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersEventEntryCmt: Record "CDC Event Entry Comment"
ApprovalEntry: Record "Approval Entry"
var IsHandled: Boolean
var Result: Boolean
From version12.0.0.0
Event nameOnBeforeSendReminderEmails
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Handled: Boolean
From version12.0.0.0
Event nameOnBeforeCreateTableHeaderRow
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar BigString: Codeunit "CDC BigString Management"
var Handled: Boolean
From version12.0.0.0
Event nameOnCreateTableHeaderRowOnBeforeAppendRow
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar BigString: Codeunit "CDC BigString Management"
From version12.0.0.0
Event nameOnBeforeCreateTableRow
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersPurchHeader: Record "Purchase Header"
ApprEntry: Record "Approval Entry"
var BigString: Codeunit "CDC BigString Management"
var Handled: Boolean
From version12.0.0.0
Event nameOnCreateTableRowOnBeforeAppendRow
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersPurchHeader: Record "Purchase Header"
ApprEntry: Record "Approval Entry"
var BigString: Codeunit "CDC BigString Management"
From version12.0.0.0
Event nameOnAfterCreateDocumentHTML
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar DocumentHTML: Codeunit "CDC BigString Management"
From version12.0.0.0

Codeunit 6085716 CDC Purch./Sales - Line Capt.

Event nameOnBeforeCaptureTablePageFind
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar DocumentPage: Record "CDC Document Page"
Document: Record "CDC Document"
From version12.0.0.0
Event nameOnAfterCaptureTableCell
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Template: Record "CDC Template"
var Document: Record "CDC Document"
var "Page": Record "CDC Document Page"
var "Field": Record "CDC Template Field"
LineNo: Integer
Top: Integer
Left: Integer
Bottom: Integer
Right: Integer
NewBottom: Integer
From version12.0.0.0
Event nameOnNotIsLineFieldsValid
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
LineNo: Integer
var Handled: Boolean
From version12.0.0.0
Event nameOnCaptureTableOnAfterSetCaptionMarginPercent
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersFieldCaption: Record "CDC Template Field Caption"
"Field": Record "CDC Template Field"
"Page": Record "CDC Document Page"
CaptionStartWord: array[100] of Record "CDC Document Word"
CaptionEndWord: array[100] of Record "CDC Document Word"
var CaptionMarginPercent: Decimal
From version12.0.0.0

Codeunit 6085720 CDC Purch. Alloc.-Post

Event nameOnAfterDateNoAllowed
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersPostingDate: Date
var DateIsNotAllowed: Boolean
From version12.0.0.0
Event nameOnBeforePostGenJnlLineLoop
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar GenJnlLine: Record "Gen. Journal Line"
var PurchAllocHeader: Record "CDC Purch. Allocation Header"
var PurchAllocLine: Record "CDC Purch. Allocation Line"
From version12.0.0.0
Event nameOnBeforePostGenJnlBalAcc
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar GenJnlLine: Record "Gen. Journal Line"
var PurchAllocHeader: Record "CDC Purch. Allocation Header"
From version12.0.0.0

Codeunit 6085722 CDC Approval Management

Event nameOnAfterCreateFlowApprovalEntriesMakeApprovalEntry
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar ApprovalEntryArgument: Record "Approval Entry"
AppvlFlowLine: Record "CDC Approval Flow Line"
From version12.0.0.0
Event nameOnBeforeCreatePurchApprovalRequest
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersPurchHeader: Record "Purchase Header"
WorkflowStepInstanceID: Guid
var Handled: Boolean
var ReturnValue: Boolean
From version12.0.0.0
Event nameOnBeforeOnAfterApprovalRequest
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar ApprovalEntry: Record "Approval Entry"
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeGetDelegateToAndMethod
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar ApprovalEntry: Record "Approval Entry"
var Selection: Option Cancel,ApproveAndDelegate,DelegateWithoutApproval,DelegateAndSendBack
var NewUserID: Code[50]
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeAddApproverAfter
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar ApprovalEntry: Record "Approval Entry"
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeForceApproval
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchHeader: Record "Purchase Header"
IsManual: Boolean
var Handled: Boolean
var ReturnValue: Boolean
From version12.0.0.0
Event nameOnBeforeBuildApprvlEntryFindSharedApprvlEntry
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar ApprovalEntry: Record "Approval Entry"
From version12.0.0.0
Event nameOnBeforeUpdateApprvlEntryByApproverFindApprvlEntry
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar ApprovalEntry: Record "Approval Entry"
From version12.0.0.0
Event nameOnBeforeUpdateApprovalEntry
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar ApprovalEntry: Record "Approval Entry"
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeUpdateApprvlEntryIfCanAppEntry
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar ApprovalEntry: Record "Approval Entry"
var Handled: Boolean
var ReturnValue: Boolean
From version12.0.0.0
Event nameOnBeforePurchDocSubmittingForApproval
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchHeader: Record "Purchase Header"
var Handled: Boolean
var ReturnValue: Boolean
From version12.0.0.0
Event nameOnBeforeCheckPurchApprovalRequest
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar ApprovalEntry: Record "Approval Entry"
var PurchHeader: Record "Purchase Header"
ShowConfirmation: Boolean
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeAutoApproveOrdersNotFullyApproved
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchHeader: Record "Purchase Header"
var Document: Record "CDC Document"
var Handled: Boolean
var ReturnValue: Boolean
From version12.0.0.0
Event nameOnBeforeCheckCanChangeImportedAmount
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersPurchHeader: Record "Purchase Header"
ShowError: Boolean
var Handled: Boolean
var ReturnValue: Boolean
From version12.0.0.0
Event nameOnBeforeCheckCanChangeImportedAmountGenJnlLine
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersGenJnlLine: Record "Gen. Journal Line"
ShowError: Boolean
var Handled: Boolean
var ReturnValue: Boolean
From version12.0.0.0
Event nameOnBeforeFilterPurchHeaderForApprover
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocType: Integer
ApproverID: Code[50]
var PurchHeader: Record "Purchase Header"
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforePutOnHold
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchHeader: Record "Purchase Header"
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeShowPurchDocFromApprEntry
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar ApprovalEntry: Record "Approval Entry"
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforePurchDocSubmittedForApproval
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchHeader: Record "Purchase Header"
var ReturnValue: Boolean
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeCreateFourEyeApp
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersPurchHeader: Record "Purchase Header"
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeAutoArchive
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar ApprovalEntry: Record "Approval Entry"
var SuspendAutoArchive: Boolean
From version12.0.0.0
Event nameOnBeforeSendApprovalEmails
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar IsHandled: Boolean
From version12.0.0.0
Event nameOnAfterMakeApprovalEntry
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar ApprovalEntry: Record "Approval Entry"
From version12.0.0.0
Event nameOnBeforeRaiseErrorIfInvAdvApprFlowCode
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchHeader: Record "Purchase Header"
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforePurchDocSubmitApprovalConfirmAmounts
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersPurchHeader: Record "Purchase Header"
var SkipConfirm: Boolean
From version12.0.0.0
Event nameOnBeforeSendBackOrRejectApprovalReq
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersApprovalEntry: Record "Approval Entry"
var Answer: Option "Dialog Cancelled","Send Back",Reject
var IsHandled: Boolean
From version12.0.0.0
Event nameOnBeforeInsertPurchAllocHeader
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersPurchaseHeader: Record "Purchase Header"
var PurchAllocationHeader: Record "CDC Purch. Allocation Header"
From version12.0.0.0
Event nameOnBeforeCreateFlowApprovalEntries
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersPurchaseHeader: Record "Purchase Header"
ApprovalEntry: Record "Approval Entry"
var Handled: Boolean
var Result: Boolean
From version12.0.0.0
Event nameOnBeforeCheckPurchDocAmtAgainstImpAmt
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar IsHandled: Boolean
PurchHeader: Record "Purchase Header"
ImportedAmountExclVAT: Decimal
ImportedAmountInclVAT: Decimal
var MessageText: Text[1024]
From version12.0.0.0
Event nameOnBeforeDelegateWithoutApproval
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar ApprovalEntry: Record "Approval Entry"
DelegateToUserID: Code[50]
var Handled: Boolean
From version12.0.0.0

Codeunit 6085730 CDC Purch. - Val. Purch. Ord.

Event nameOnBeforeValidatePurchaseOrder
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
From version12.0.0.0
Event nameOnAfterValidatePurchaseOrder
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
From version12.0.0.0

Codeunit 6085746 CDC Advanced Appvl. Management

Event nameOnBeforeRaiseErrorIfNextApprIDBlank2
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchHeader: Record "Purchase Header"
var WorkflowStepInstanceID: Guid
var ApprovalEntry: Record "Approval Entry"
var NextApproverID: Code[50]
var Handled: Boolean
From version12.0.0.0
Event nameOnAfterUpdateDtldApprEntries
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar ApprovalEntry: Record "Approval Entry"
var PurchHeader: Record "Purchase Header"
var AppvlGroup: Record "CDC Approval Group"
var ApprovalGroupUserID: Code[50]
var CurrentUser: Code[50]
var NextApproverID: Code[50]
var ActionToPerform: Option Approve,FindNextApprover
From version12.0.0.0

Codeunit 6085749 CDC Purch. Doc. - Reopen

Event nameOnBeforeConfirmDocAlreadyLinked
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
PurchaseHeader: Record "Purchase Header"
From version12.0.0.0

Codeunit 6085758 CDC Doc. - Move to Company

Event nameOnBeforeIdentifyTargetCompany
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var DocCat: Record "CDC Document Category"
var IdentifiedCompanyName: Text[250]
var IsHandled: Boolean
From version12.0.0.0
Event nameOnAfterMoveDocument
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersOldDocument: Record "CDC Document"
NewDocument: Record "CDC Document"
SourceCompanyName: Text[30]
TargetCompanyName: Text[30]
From version12.0.0.0

Codeunit 6085761 CDC Purch. - Line Rel. Mgt.

Event nameOnAfterSetReceiptLineInfo
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchLine: Record "Purchase Line"
var PurchRcptLine: Record "Purch. Rcpt. Line"
From version12.0.0.0
Event nameOnAfterPostPreviousDocument
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersRelPurchHeader: Record "Purchase Header"
PurchLineRel: Record "CDC Purchase Line Relationship"
PrevDocNo: Code[20]
From version12.0.0.0
Event nameOnAfterModifyRelatedDocument
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersPurchLineRel: Record "CDC Purchase Line Relationship"
var RelPurchLine: Record "Purchase Line"
From version12.0.0.0
Event nameOnAfterPostRelOrderLines
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersRelPurchHeader: Record "Purchase Header"
PurchLineRel: Record "CDC Purchase Line Relationship"
From version12.0.0.0

Codeunit 6085762 CDC Purch.-Get Order

Event nameOnAfterInsertInvLineFromOrderLineValidateQuantity
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchInvLine: Record "Purchase Line"
var PurchOrderLine: Record "Purchase Line"
MatchedQuantity: Decimal
From version12.0.0.0
Event nameOnAfterSetFilterPurchOrderLine
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchOrderLine: Record "Purchase Line"
From version12.0.0.0

Codeunit 6085770 CDC Sales - Management

Event nameOnBeforeGetDocType
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var DocType: Integer
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeGetTranslLineInfo
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersTemplNo: Code[20]
CustItemNo: Code[150]
UseCustItemNos: Boolean
var LineTransl: Record "CDC Data Translation"
var IsHandled: Boolean
var ReturnValue: Boolean
From version12.0.0.0
Event nameOnBeforeGetLineTranslAccountNo
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Template: Record "CDC Template"
var Document: Record "CDC Document"
LineNo: Integer
var DataTrans: Record "CDC Data Translation"
TranslateFrom: Code[150]
var Handled: Boolean
var FoundTranslation: Boolean
From version12.0.0.0

Codeunit 6085773 CDC Sales - Full Capture

Event nameOnAfterFullCapture
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
From version12.0.0.0
Event nameOnBeforeAdjustMissingFields
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var Handled: Boolean
From version12.0.0.0

Codeunit 6085774 CDC Sales - Line Validation

Event nameOnAfterRun
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar TempDocumentLine: Record "CDC Temp. Document Line"
From version12.0.0.0

Codeunit 6085775 CDC Sales - Validation

Event nameOnBeforeCheckDifferentDateFormatsUsed
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
Template: Record "CDC Template"
var IsHandled: Boolean
From version12.0.0.0
Event nameOnAfterValidateDocument
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
Template: Record "CDC Template"
var IsValid: Boolean
From version12.0.0.0

Codeunit 6085776 CDC Sales - Register

Event nameOnBeforeCreateSalesHeaderInsert
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var SalesHeader: Record "Sales Header"
From version12.0.0.0
Event nameOnAfterCreateSalesHeader
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
SalesHeader: Record "Sales Header"
From version12.0.0.0
Event nameOnAfterTransferSalesLine
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar SalesLine: Record "Sales Line"
Document: Record "CDC Document"
LineNo: Integer
From version12.0.0.0

Codeunit 6085778 CDC Sales - Show Reg. Doc.

Event nameOnRunOnSalesDocumentTypeCaseElse
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar DocNo: Code[20]
var DocDate: Date
From version12.0.0.0

Codeunit 6085781 CDC Continia User Mgt.

Event nameOnAfterRenameRecord
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar RecRef: RecordRef
TableNo: Integer
NumberOfPrimaryKeyFields: Integer
UserName: Code[50]
Company: Text[30]
From version12.0.0.0
ObsoleteNot used with Universal Code
Event nameOnBeforeRenameContiniaUser
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersOldUserName: Code[50]
NewUserName: Code[50]
From version12.0.0.0

Codeunit 6085786 CDC Workflow Response Handling

Event nameOnBeforeExecuteResponseStepInstance
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar NewWorkflowStepInstance: Record "Workflow Step Instance"
From version12.0.0.0

Codeunit 6085790 CDC Approvals Bridge

Event nameOnAfterApproveAdvancedApprovalRequested
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar ApprovalEntry: Record "Approval Entry"
From version12.0.0.0
Event nameOnApproveAndDelegateRequested
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar ApprovalEntry: Record "Approval Entry"
From version12.0.0.0
Event nameOnDelegateWithoutApprovalRequested
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar ApprovalEntry: Record "Approval Entry"
From version12.0.0.0
Event nameOnDelegateAndSendBackRequested
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar ApprovalEntry: Record "Approval Entry"
From version12.0.0.0
Event nameOnSendBackApprovalRequested
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar ApprovalEntry: Record "Approval Entry"
From version12.0.0.0
Event nameOnSendPurchDocForForceApproval
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchaseHeader: Record "Purchase Header"
From version12.0.0.0
Event nameOnBeforeSendPurchDocApprovalRequest
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchHeader: Record "Purchase Header"
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeForward
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchHeader: Record "Purchase Header"
var Handled: Boolean
From version12.0.0.0
Event nameOnAfterRejectApprovalRequests
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar ApprovalEntry: Record "Approval Entry"
var PurchHeader: Record "Purchase Header"
From version12.0.0.0
Event nameOnBeforeCancelApprovalRequest
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchHeader: Record "Purchase Header"
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeFilterPurchAppWorkflows
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocType: Integer
var Workflow: Record Workflow
FilterType: Option "Only DC","Only Standard",All
var FilterString: Text[1024]
var ReturnValue: Boolean
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeIsPurchForceApprEnabledDocType
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocType: Integer
var Handled: Boolean
var ReturnValue: Boolean
From version12.0.0.0
Event nameOnAfterSetApprovalButtons
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersPurchHeader: Record "Purchase Header"
var EnableForceAppr: Boolean
var EnableSendAppr: Boolean
var EnableCancelApprov: Boolean
var EnableApprove: Boolean
var EnableReject: Boolean
var EnableForward: Boolean
var EnableOnHold: Boolean
var ShowApprFactBox: Boolean
From version12.0.0.0
Event nameOnSendDocumentForApproval
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeApproveApprovalRequest
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersApprovalEntry: Record "Approval Entry"
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeDeleteTempPurchLine
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchaseHeader: Record "Purchase Header"
From version12.0.0.0
Event nameOnBeforeRejectedApprovalEntryModify
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar ApprovalEntry: Record "Approval Entry"
From version12.0.0.0
Event nameOnBeforeNewWorkflowStepInstance
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar NewWorkflowStepInstance: Record "Workflow Step Instance"
var Handled: Boolean
From version12.0.0.0
Event nameOnAfterInitializeApprovalEntry
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar ApprovalEntry: Record "Approval Entry"
RecRef: RecordRef
From version12.0.0.0

Codeunit 6085808 CDC Document No. Series Mgt.

Event nameOnBeforeGetMainNoseriesCode
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var MainNoseriesCode: Code[20]
var Handled: Boolean
From version12.0.0.0

Codeunit 6085813 CDC Open Document E-Mail

Event nameOnBeforeSendReminderEmails
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Handled: Boolean
From version12.0.0.0
Event nameOnBeforeCreateTableHeaderRow
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar BigString: Codeunit "CDC BigString Management"
var Handled: Boolean
From version12.0.0.0
Event nameOnCreateTableHeaderRowOnBeforeAppendRow
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar BigString: Codeunit "CDC BigString Management"
From version12.0.0.0
Event nameOnBeforeCreateTableRow
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var BigString: Codeunit "CDC BigString Management"
var Handled: Boolean
From version12.0.0.0
Event nameOnCreateTableRowOnBeforeAppendRow
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var BigString: Codeunit "CDC BigString Management"
From version12.0.0.0

Codeunit 6085830 CDC Match Tracking Mgt.

Event nameOnBeforeTransferMatchTracking
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersToPurchLine: Record "Purchase Line"
PurchDocMatch: Record "CDC Purch. Doc. Match"
DeleteExistingTracking: Boolean
UpdateExistingTracking: Boolean
var IsHandled: Boolean
From version12.0.0.0

Codeunit 6085871 CDC Business Setup Management

Event nameOnAfterInsertPurchContractManualSetup
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersAlreadyInserted: Boolean
var sender: Codeunit "Guided Experience"
From version12.0.0.0
Event nameOnSkipInsertManualSetup
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar sender: Codeunit "Guided Experience"
From version12.0.0.0

Codeunit 6085921 CDC Purchase Line Subscr.

Event nameOnBeforeResetUnitCostOnAfterValidateNo
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchaseLine: Record "Purchase Line"
var xPurchaseLine: Record "Purchase Line"
var Suspend: Boolean
From version12.0.0.0

Codeunit 6086001 CDC Approval Functions (WS)

Event nameOnBeforeCopyDocumentLine
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersLCID: Integer
DocumentType: Integer
DocumentNo: Code[20]
LineNo: Integer
var NewLineNo: Integer
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeReject
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersLCID: Integer
MenuCode: Code[20]
SubMenuCode: Code[20]
TableID: Integer
DocumentType: Integer
DocumentNo: Code[20]
ApproverId: Code[50]
ReasonCode: Code[10]
var NextTableID: Integer
var NextDocumentType: Integer
var NextDocumentNo: Code[20]
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeForward
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersLCID: Integer
MenuCode: Code[20]
SubMenuCode: Code[20]
TableID: Integer
DocumentType: Integer
DocumentNo: Code[20]
ApproverId: Code[50]
DelegateToUserId: Code[50]
DelegateAction: Integer
var NextTableID: Integer
var NextDocumentType: Integer
var NextDocumentNo: Code[20]
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforePutOnHoldHandled
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersLCID: Integer
TableID: Integer
DocumentType: Integer
DocumentNo: Code[20]
ApproverId: Code[50]
ReasonCode: Code[10]
var IsHandled: Boolean
From version12.0.0.0
Event nameOnBeforeAddDocumentLine
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersLCID: Integer
DocumentType: Integer
DocumentNo: Code[20]
var NewLineNo: Integer
Type: Integer
AmountExclVAT: Decimal
AmountInclVAT: Decimal
From version12.0.0.0
Event nameOnBeforeDeleteDocumentLine
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersLCID: Integer
DocumentType: Integer
DocumentNo: Code[20]
LineNo: Integer
From version12.0.0.0
Event nameOnGetDocumentFile
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocNo: Code[20]
var TempFile: Record "CDC Temp File"
var IsHandled: Boolean
From version12.0.0.0
Event nameOnGetHtmlFile
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocNo: Code[20]
var TempFile: Record "CDC Temp File"
var IsHandled: Boolean
From version12.0.0.0
Event nameOnGetApprovalPDFDocumentTypeCaseElse
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersTableID: Integer
FileName: Text[1024]
DocumentType: Integer
DocumentNo: Code[20]
PDFReportID: Integer
var TempFile: Record "CDC Temp File"
From version12.0.0.0
Event nameOnAfterSetPreDefinedDocumentPermissions
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersLCID: Integer
TableID: Integer
DocumentType: Integer
DocumentNo: Code[20]
ApproverId: Code[50]
var AllowView: Boolean
var AllowAddComment: Boolean
var AllowAttachFiles: Boolean
var AllowApprove: Boolean
var AllowReject: Boolean
var AllowForward: Boolean
var AllowPutOnHold: Boolean
From version12.0.0.0
Event nameOnBeforeSetPathandFilename
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersToURL: Text[1024]
DocomentNo: Code[20]
var Path: Text[1024]
var Filename: Text[1024]
NSTLanguageID: Integer
var Handled: Boolean
From version12.0.0.0

Codeunit 6086004 CDC Web Job and Dim. Mgnt.

Event nameOnBeforeGetPurchLineTaskInfo
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersPurchLine: Record "Purchase Line"
var JobTaskNo: Code[20]
var JobTaskDesc: Text[100]
var IsHandled: Boolean
From version12.0.0.0
Event nameOnBeforeValidateJobTaskNo
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersJobTaskNo: Code[20]
var PurchLine: Record "Purchase Line"
var IsHandled: Boolean
From version12.0.0.0
Event nameOnAfterValidateJobTaskNo
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersJobTaskNo: Code[20]
var PurchLine: Record "Purchase Line"
From version12.0.0.0
Event nameOnBeforeUpdateWebDim
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchLine: Record "Purchase Line"
"Code": Code[20]
ValueCode: Code[20]
CurrUserId: Code[50]
From version12.0.0.0

Codeunit 6086029 CDC Message Center Setup Mgt.

Event nameOnAfterCreateMessageCenterSetup
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocumentComment: Record "CDC Document Comment"
From version12.0.0.0

Codeunit 6086035 CDC Gen. Jnl. Mgt.

Event nameOnBeforeCheckAmountOnPost
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar GenJournalLine: Record "Gen. Journal Line"
var Handled: Boolean
From version12.0.0.0

Codeunit 6086044 CDC Text Management

Event nameOnBeforeGetDocumentID
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar DocumentID: Text
var Handled: Boolean
From version12.0.0.0

Codeunit 6086055 CDC Purch. Order - Validation

Event nameOnBeforeBuildTempLinesTable
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var DocumentLines: Record "CDC Temp. Document Line" temporary
var IsValid: Boolean
var LinesHandled: Boolean
From version12.0.0.0
Event nameOnBeforeGetDocumentDate
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var DueDate: Date
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeTotalAmountNegCheck
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var IsValid: Boolean
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeCheckExternalDocNo
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
ExtDocNo: Code[250]
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeValidateAmtAccounts
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var Template: Record "CDC Template"
var IsInvalid: Boolean
var IsHandled: Boolean
From version12.0.0.0

Codeunit 6086056 CDC Purchase Order - Register

Event nameOnBeforeCreatePurchHeaderCopyHeaderDim
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersPurchDocMatch: Record "CDC Purch. Doc. Match"
var PurchHeader: Record "Purchase Header"
PurchaserCode: Code[20]
var Handled: Boolean
From version12.0.0.0
Event nameOnAfterCreateWithoutMatchModifyPurchLine
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var PurchLine: Record "Purchase Line"
DocumentLineNo: Integer
From version12.0.0.0
Event nameOnAfterCreateWithoutMatchLineTrans
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchLine: Record "Purchase Line"
LineTrans: Record "CDC Data Translation"
From version12.0.0.0
Event nameOnAfterModifyPurchLineCreatePurchLine
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var PurchLine: Record "Purchase Line"
From version12.0.0.0
Event nameOnAfterModifyPurchLineCreatePurchLineAmountDistribution
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var PurchLine: Record "Purchase Line"
IsHeadingLine: Boolean
From version12.0.0.0
Event nameOnAfterCreatePurchLineLineTrans
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchLine: Record "Purchase Line"
DataTransl: Record "CDC Data Translation"
From version12.0.0.0
Event nameOnAfterTransferPurchHeader
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchHeader: Record "Purchase Header"
var Document: Record "CDC Document"
From version12.0.0.0
Event nameOnBeforePurchHeaderInsert
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var PurchHeader: Record "Purchase Header"
From version12.0.0.0
Event nameOnAfterRegister
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
From version12.0.0.0
Event nameOnAfterPerformStep1
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var PurchaseHeader: Record "Purchase Header"
From version12.0.0.0
Event nameOnBeforePerformStep2
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var Template: Record "CDC Template"
var PurchHeader: Record "Purchase Header"
var SkipNextStep: Boolean
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeShowAfterRegister
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var Handled: Boolean
From version12.0.0.0
Event nameOnAfterTransferPurchLine
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchLine: Record "Purchase Line"
Document: Record "CDC Document"
DocumentLineNo: Integer
From version12.0.0.0
Event nameOnAfterCreateWithoutMatchSetAccountRequired
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var DocumentLine: Record "CDC Temp. Document Line" temporary
var AccountRequired: Boolean
From version12.0.0.0
Event nameOnBeforeCreateWithMatchGetPurchLine
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersPurchDocMatch: Record "CDC Purch. Doc. Match"
var PurchaseLine: Record "Purchase Line"
var NextLineNo: Integer
var PurchLineGetHandled: Boolean
From version12.0.0.0
Event nameOnAfterCreatePurchHeaderWithoutMatch
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
var PurchHeader: Record "Purchase Header"
From version12.0.0.0
Event nameOnBeforeTransferLineDim
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
LineNo: Integer
var PurchLine: Record "Purchase Line"
var LineTrans: Record "CDC Data Translation"
var IsHandled: Boolean
From version12.0.0.0
Event nameOnBeforeCreateWithoutMatchCreateLinesByHeaderAmounts
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var PurchaseHeader: Record "Purchase Header"
PurchaserCode: Code[20]
var IsHandled: Boolean
From version12.0.0.0
Event nameOnBeforeRegisterDocument
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
From version12.0.0.0
Event nameOnBeforeCreateHeaderAmounts
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var PurchHeader: Record "Purchase Header"
var "Field": Record "CDC Template Field"
var Template: Record "CDC Template"
LinesRecognised: Boolean
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeCreateHeaderAmountsWithTextLines
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var PurchHeader: Record "Purchase Header"
var "Field": Record "CDC Template Field"
var Template: Record "CDC Template"
LinesRecognised: Boolean
TextLineArray: array[50] of Text[1024]
NoOfTextLines: Integer
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeUpdateHeaderAmounts
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var PurchHeader: Record "Purchase Header"
var "Field": Record "CDC Template Field"
var Template: Record "CDC Template"
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforePerformStep1
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
From version12.0.0.0
Event nameOnBeforeProcessDocumentLines
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar TempDocumentLine: Record "CDC Temp. Document Line" temporary
PurchaseHeader: Record "Purchase Header"
From version12.0.0.0
Event nameOnBeforeCheckWMS
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersPurchLine: Record "Purchase Line"
var IsHandled: Boolean
From version12.0.0.0
Event nameOnBeforePostPrepayment
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var PurchHeader: Record "Purchase Header"
var Handled: Boolean
From version12.0.0.0
Event nameOnBeforeModifyPurchHeader
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchaseHeader: Record "Purchase Header"
var Document: Record "CDC Document"
From version12.0.0.0
Event nameOnBeforeCheckDuplicateNumber
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersPurchaseHeader: Record "Purchase Header"
CDCDocument: Record "CDC Document"
OrderNo: Code[100]
From version12.0.0.0
Event nameOnBeforeUpdatePurchLine
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
PurchHeader: Record "Purchase Header"
var PurchLine: Record "Purchase Line"
DocumentLine: Record "CDC Temp. Document Line"
DataTranslation: Record "CDC Data Translation" temporary
var Handled: Boolean
From version12.0.0.0

Codeunit 6086061 CDC Master Data Mgt. Subsc.

Event nameOnBeforeErrorMasterDataTableInsert
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersSynchTableID: Integer
var OverrideError: Boolean
From version12.0.0.0

Codeunit 6086073 CDC Secure Archive Subsc.

Event nameOnBeforeDeleteExclFromViews
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar SkipExcludeFromView: Boolean
From version12.0.0.0

Codeunit 6086202 CDC XML Line Capt.

Event nameOnNotIsLineFieldsValid
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersDocument: Record "CDC Document"
LineNo: Integer
var Handled: Boolean
From version12.0.0.0

Codeunit 6086217 CDC UTS Validation

Event nameOnBeforeFindRelatedDocument
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar RelatedDocument: Record "CDC Document"
var Handled: Boolean
From version12.0.0.0

Codeunit 6086218 CDC UTS - Register

Event nameOnBeforeFindRelatedDocument
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar RelatedDocument: Record "CDC Document"
var Handled: Boolean
From version12.0.0.0

Codeunit 6225181 CDC Review Mgt.

Event nameOnBeforeSendReviewEmails
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
ParametersIsHandled: Boolean
From version12.0.0.0

Codeunit 6225201 CDC Purch. Contr. Creation

Event nameOnAfterInsertContractHeader
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar PurchContractHeader: Record "CDC Purch. Contract Header"
DocRecRef: RecordRef
From version12.0.0.0
Event nameOnBeforeCreatePurchaseContractFromDocument
Event typeIntegrationEvent(IncludeSender : false, GlobalVarAccess : false)
Parametersvar Document: Record "CDC Document"
var IsHandled: Boolean
From version12.0.0.0