Table "Incoming Document"
ID 130
Namespace: Microsoft.EServices.EDocument
Properties
Fields
| Name |
Type |
Description |
| "Entry No." |
Integer
|
Specifies the number of the entry, as assigned from the specified number series when the entry was created.
|
| Description |
Text[100]
|
Specifies the description of the incoming document. You must enter the description manually.
|
| "Created Date-Time" |
DateTime
|
Specifies when the incoming document line was created.
|
| "Created By User ID" |
Guid
|
|
| "Created By User Name" |
Code[50]
|
Specifies the name of the user who created the incoming document line.
|
| Released |
Boolean
|
Specifies if the incoming document has been approved.
|
| "Released Date-Time" |
DateTime
|
Specifies when the incoming document was approved.
|
| "Released By User ID" |
Guid
|
|
| "Released By User Name" |
Code[50]
|
Specifies the name of the user who approved the incoming document.
|
| "Last Date-Time Modified" |
DateTime
|
Specifies when the incoming document line was last modified.
|
| "Last Modified By User ID" |
Guid
|
|
| "Last Modified By User Name" |
Code[50]
|
Specifies the name of the user who last modified the incoming document line.
|
| Posted |
Boolean
|
Specifies if the document or journal line that was created for this incoming document has been posted.
|
| "Posted Date-Time" |
DateTime
|
Specifies when the related document or journal line was posted.
|
| "Document Type" |
Enum Microsoft.EServices.EDocument."Incoming Related Document Type"
|
Specifies the type of document or journal that the incoming document can be connected to.
|
| "Document No." |
Code[20]
|
Specifies the number of the related document or journal line that is created for the incoming document.
|
| "Posting Date" |
Date
|
Specifies when the document or journal line that relates to the incoming document was posted.
|
| Status |
Enum Microsoft.EServices.EDocument."Incoming Document Status"
|
Specifies the status of the incoming document record.
|
| URL |
Text[1024]
|
Specifies the location of the file that represents the incoming document.
|
| "Vendor Name" |
Text[100]
|
Specifies the name of the vendor on the incoming document. The field may be filled automatically.
|
| "Vendor VAT Registration No." |
Text[30]
|
Specifies the VAT registration number of the vendor, if the document contains that number. The field may be filled automatically.
|
| "Vendor IBAN" |
Code[50]
|
Specifies the new value that you want the OCR service to produce for this field going forward.
|
| "Document Date" |
Date
|
Specifies the date that is printed on the incoming document. This is the date when the vendor created the invoice, for example. The field may be filled automatically.
|
| "Vendor Bank Branch No." |
Text[20]
|
Specifies the new value that you want the OCR service to produce for this field going forward.
|
| "Vendor Bank Account No." |
Text[30]
|
Specifies the bank account number of the vendor on the incoming document.
|
| "Vendor No." |
Code[20]
|
Specifies the number of the vendor on the incoming document. The field may be filled automatically.
|
| "Data Exchange Type" |
Code[20]
|
Specifies the data exchange type that is used to process the incoming document when it is an electronic document.
|
| "OCR Data Corrected" |
Boolean
|
|
| "OCR Status" |
Option
|
Specifies the status of the incoming document record when it takes part in the OCR process.
|
| "OCR Track ID" |
Text[20]
|
Specifies the process stage of the track ID in relation to the OCR service.
|
| "OCR Service Doc. Template Code" |
Code[20]
|
Specifies the code of the document template that you want the OCR service provider to use when they convert the incoming-document file to an electronic document. Chose the field to pick a supported document template from the OCR Service Setup window.
|
| "OCR Service Doc. Template Name" |
Text[50]
|
Specifies the name of the document template that you want the OCR service provider to use when they convert the incoming-document file to an electronic document. Chose the field to pick a supported document template from the OCR Service Setup window.
|
| "OCR Process Finished" |
Boolean
|
|
| "Created Doc. Error Msg. Type" |
Option
|
|
| "Vendor Id" |
Guid
|
|
| "Currency Code" |
Code[10]
|
Specifies the currency code, if the document contains that code. The field may be filled automatically.
|
| "Amount Excl. VAT" |
Decimal
|
Specifies the amount excluding VAT for the whole document. The field may be filled automatically.
|
| "Amount Incl. VAT" |
Decimal
|
Specifies the amount including VAT for the whole document. The field may be filled automatically.
|
| "VAT Amount" |
Decimal
|
Specifies the amount of VAT that is included in the total amount.
|
| "Due Date" |
Date
|
Specifies the date when the vendor document must be paid. The field may be filled automatically.
|
| "Vendor Invoice No." |
Code[35]
|
Specifies the document number of the original document you received from the vendor. You can require the document number for posting, or let it be optional. By default, it's required, so that this document references the original. Making document numbers optional removes a step from the posting process. For example, if you attach the original invoice as a PDF, you might not need to enter the document number. To specify whether document numbers are required, in the Purchases & Payables Setup window, select or clear the Ext. Doc. No. Mandatory field.
|
| "Order No." |
Code[20]
|
Specifies the order number, if the document contains that number. The field may be filled automatically.
|
| "Vendor Phone No." |
Text[30]
|
Specifies the phone number of the vendor on the incoming document.
|
| "Related Record ID" |
RecordId
|
|
| "Job Queue Status" |
Enum System.Threading."Inc. Doc. Job Queue Status"
|
Specifies the status of the job queue entry that is processing the incoming document.
|
| "Job Queue Entry ID" |
Guid
|
|
| Processed |
Boolean
|
Specifies if the incoming document has been processed.
|
| SystemId |
Guid
|
|
| SystemCreatedAt |
DateTime
|
|
| SystemCreatedBy |
Guid
|
|
| SystemModifiedAt |
DateTime
|
|
| SystemModifiedBy |
Guid
|
|
| SystemCreatedByUserName |
Text[50]
|
|
| SystemCreatedByFullName |
Text[80]
|
|
| SystemModifiedByUserName |
Text[50]
|
|
| SystemModifiedByFullName |
Text[80]
|
|
| SystemRowVersion |
BigInteger
|
|
Methods
GetURL
procedure GetURL(): Text
Returns
SetURL
procedure SetURL(NewURL: Text)
Parameters
| Name |
Type |
Description |
|
NewURL
|
Text |
|
Reject
CheckNotCreated
procedure CheckNotCreated()
CreateDocumentWithDataExchange
procedure CreateDocumentWithDataExchange()
TryCreateDocumentWithDataExchange
procedure TryCreateDocumentWithDataExchange()
CreateReleasedDocumentWithDataExchange
procedure CreateReleasedDocumentWithDataExchange()
CreateManually
procedure CreateManually()
CreateGenJnlLine
procedure CreateGenJnlLine()
CreatePurchInvoice
procedure CreatePurchInvoice()
CreatePurchCreditMemo
procedure CreatePurchCreditMemo()
CreateSalesInvoice
procedure CreateSalesInvoice()
CreateSalesCreditMemo
procedure CreateSalesCreditMemo()
RemoveReferenceToWorkingDocument
procedure RemoveReferenceToWorkingDocument(EntryNo: Integer)
Parameters
| Name |
Type |
Description |
|
EntryNo
|
Integer |
|
RemoveIncomingDocumentEntryNoFromUnpostedDocument
procedure RemoveIncomingDocumentEntryNoFromUnpostedDocument()
CreateIncomingDocument
procedure CreateIncomingDocument(NewDescription: Text; NewURL: Text): Integer
Parameters
| Name |
Type |
Description |
|
NewDescription
|
Text |
|
|
NewURL
|
Text |
|
Returns
CreateIncomingDocument
procedure CreateIncomingDocument(PictureInStream: InStream; FileName: Text)
Parameters
| Name |
Type |
Description |
|
PictureInStream
|
InStream |
|
|
FileName
|
Text |
|
TestIfAlreadyExists
procedure TestIfAlreadyExists()
TestReadyForProcessing
procedure TestReadyForProcessing()
PostedDocExists
procedure PostedDocExists(DocumentNo: Code[20]; PostingDate: Date): Boolean
Parameters
| Name |
Type |
Description |
|
DocumentNo
|
Code[20] |
|
|
PostingDate
|
Date |
|
Returns
GetRelatedDocType
procedure GetRelatedDocType(PostingDate: Date; DocNo: Code[20]; var IsPosted: Boolean): Enum "Incoming Related Document Type"
Parameters
| Name |
Type |
Description |
|
PostingDate
|
Date |
|
|
DocNo
|
Code[20] |
|
|
IsPosted
|
Boolean |
|
Returns
SetPostedDocFields
procedure SetPostedDocFields(PostingDate: Date; DocNo: Code[20])
Parameters
| Name |
Type |
Description |
|
PostingDate
|
Date |
|
|
DocNo
|
Code[20] |
|
SetPostedDocFieldsForcePosted
procedure SetPostedDocFieldsForcePosted(PostingDate: Date; DocNo: Code[20]; ForcePosted: Boolean)
Parameters
| Name |
Type |
Description |
|
PostingDate
|
Date |
|
|
DocNo
|
Code[20] |
|
|
ForcePosted
|
Boolean |
|
UndoPostedDocFields
procedure UndoPostedDocFields()
UpdateIncomingDocumentFromPosting
procedure UpdateIncomingDocumentFromPosting(IncomingDocumentNo: Integer; PostingDate: Date; DocNo: Code[20])
Parameters
| Name |
Type |
Description |
|
IncomingDocumentNo
|
Integer |
|
|
PostingDate
|
Date |
|
|
DocNo
|
Code[20] |
|
SetGenJournalLine
procedure SetGenJournalLine(var GenJnlLine: Record "Gen. Journal Line")
Parameters
SetSalesDoc
procedure SetSalesDoc(var SalesHeader: Record "Sales Header")
Parameters
SetPurchDoc
procedure SetPurchDoc(var PurchaseHeader: Record "Purchase Header")
Parameters
DocLinkExists
procedure DocLinkExists(RecVar: Variant): Boolean
Parameters
| Name |
Type |
Description |
|
RecVar
|
Variant |
|
Returns
HyperlinkToDocument
procedure HyperlinkToDocument(DocumentNo: Code[20]; PostingDate: Date)
Parameters
| Name |
Type |
Description |
|
DocumentNo
|
Code[20] |
|
|
PostingDate
|
Date |
|
ForwardToExistingLink
procedure ForwardToExistingLink(DocumentNo: Code[20]; PostingDate: Date): Boolean
Parameters
| Name |
Type |
Description |
|
DocumentNo
|
Code[20] |
|
|
PostingDate
|
Date |
|
Returns
ShowCard
procedure ShowCard(DocumentNo: Code[20]; PostingDate: Date)
Parameters
| Name |
Type |
Description |
|
DocumentNo
|
Code[20] |
|
|
PostingDate
|
Date |
|
ShowCardFromEntryNo
procedure ShowCardFromEntryNo(EntryNo: Integer)
Parameters
| Name |
Type |
Description |
|
EntryNo
|
Integer |
|
ImportAttachment
procedure ImportAttachment(var IncomingDocument: Record "Incoming Document")
Parameters
AddAttachmentFromStream
procedure AddAttachmentFromStream(var IncomingDocumentAttachment: Record "Incoming Document Attachment"; OrgFileName: Text; FileExtension: Text; var InStr: InStream)
Parameters
SelectIncomingDocument
procedure SelectIncomingDocument(EntryNo: Integer; RelatedRecordID: RecordId): Integer
Parameters
| Name |
Type |
Description |
|
EntryNo
|
Integer |
|
|
RelatedRecordID
|
RecordId |
|
Returns
SelectIncomingDocumentForPostedDocument
procedure SelectIncomingDocumentForPostedDocument(DocumentNo: Code[20]; PostingDate: Date; RelatedRecordID: RecordId)
Parameters
| Name |
Type |
Description |
|
DocumentNo
|
Code[20] |
|
|
PostingDate
|
Date |
|
|
RelatedRecordID
|
RecordId |
|
SaveErrorMessages
procedure SaveErrorMessages(var TempErrorMessageRef: Record "Error Message" temporary)
Parameters
RemoveFromJobQueue
procedure RemoveFromJobQueue(ShowMessages: Boolean)
Parameters
| Name |
Type |
Description |
|
ShowMessages
|
Boolean |
|
SetStatus
procedure SetStatus(NewStatus: Option)
Parameters
| Name |
Type |
Description |
|
NewStatus
|
Option |
|
GetGeneratedFromOCRAttachment
procedure GetGeneratedFromOCRAttachment(var IncomingDocumentAttachment: Record "Incoming Document Attachment"): Boolean
Parameters
Returns
GetDataExchangePath
procedure GetDataExchangePath(FieldNumber: Integer): Text
Parameters
| Name |
Type |
Description |
|
FieldNumber
|
Integer |
|
Returns
ShowRecord
GetRecord
procedure GetRecord(var RelatedRecord: Variant): Boolean
Parameters
| Name |
Type |
Description |
|
RelatedRecord
|
Variant |
|
Returns
RemoveLinkToRelatedRecord
procedure RemoveLinkToRelatedRecord()
RemoveReferencedRecords
procedure RemoveReferencedRecords()
CreateFromAttachment
procedure CreateFromAttachment()
GetMainAttachment
procedure GetMainAttachment(var IncomingDocumentAttachment: Record "Incoming Document Attachment"): Boolean
Parameters
Returns
GetMainAttachmentFileName
procedure GetMainAttachmentFileName(): Text
Returns
GetRecordLinkText
procedure GetRecordLinkText(): Text
Returns
GetRecordCaption
procedure GetRecordCaption(var RecRef: RecordRef): Text
Parameters
| Name |
Type |
Description |
|
RecRef
|
RecordRef |
|
Returns
GetOCRResutlFileName
procedure GetOCRResutlFileName(): Text
Returns
GetAdditionalAttachments
procedure GetAdditionalAttachments(var IncomingDocumentAttachment: Record "Incoming Document Attachment"): Boolean
Parameters
Returns
DefaultAttachmentIsXML
procedure DefaultAttachmentIsXML(): Boolean
Returns
FindByDocumentNoAndPostingDate
procedure FindByDocumentNoAndPostingDate(MainRecordRef: RecordRef; var IncomingDocument: Record "Incoming Document"): Boolean
Parameters
Returns
FindByDocumentNoAndPostingDate
procedure FindByDocumentNoAndPostingDate(MainRecordRef: RecordRef; var IncomingDocument: Record "Incoming Document"; DocumentNo: Text; PostingDateText: Text): Boolean
Parameters
Returns
FindByDocumentNoAndPostingDate
procedure FindByDocumentNoAndPostingDate(var IncomingDocument: Record "Incoming Document"; DocumentNo: Text; PostingDateText: Text): Boolean
Parameters
Returns
FindFromIncomingDocumentEntryNo
procedure FindFromIncomingDocumentEntryNo(MainRecordRef: RecordRef; var IncomingDocument: Record "Incoming Document"): Boolean
Parameters
Returns
GetStatusStyleText
procedure GetStatusStyleText(): Text
Returns
WaitingToReceiveFromOCR
procedure WaitingToReceiveFromOCR(): Boolean
Returns
OCRIsEnabled
procedure OCRIsEnabled(): Boolean
Returns
IsADocumentAttached
procedure IsADocumentAttached(): Boolean
Returns
TestReadyForApproval
procedure TestReadyForApproval()
HasAttachment
procedure HasAttachment(): Boolean
Returns
CanReplaceMainAttachment
procedure CanReplaceMainAttachment(): Boolean
Returns
Events
OnAfterCreateGenJnlLineFromIncomingDocSuccess
[IntegrationEvent(False,False)]
procedure OnAfterCreateGenJnlLineFromIncomingDocSuccess(var IncomingDocument: Record "Incoming Document")
Parameters
OnAfterCreateGenJnlLineFromIncomingDocFail
[IntegrationEvent(False,False)]
procedure OnAfterCreateGenJnlLineFromIncomingDocFail(var IncomingDocument: Record "Incoming Document")
Parameters
OnAfterCreateManually
[IntegrationEvent(False,False)]
procedure OnAfterCreateManually(var IncomingDocument: Record "Incoming Document")
Parameters
OnAfterCreateSalesHeaderFromIncomingDoc
[IntegrationEvent(True,False)]
local procedure OnAfterCreateSalesHeaderFromIncomingDoc(var SalesHeader: Record "Sales Header")
Parameters
OnAfterCreatePurchHeaderFromIncomingDoc
[IntegrationEvent(True,False)]
local procedure OnAfterCreatePurchHeaderFromIncomingDoc(var PurchHeader: Record "Purchase Header")
Parameters
OnAfterFindPostedRecord
[IntegrationEvent(False,False)]
local procedure OnAfterFindPostedRecord(var RelatedRecord: Variant; var RecordFound: Boolean; var IncomingDocument: Record "Incoming Document")
Parameters
OnAfterFindUnpostedRecord
[IntegrationEvent(False,False)]
local procedure OnAfterFindUnpostedRecord(var RelatedRecord: Variant; var RecordFound: Boolean; var IncomingDocument: Record "Incoming Document")
Parameters
OnAfterGetRelatedRecordCaption
[IntegrationEvent(False,False)]
local procedure OnAfterGetRelatedRecordCaption(var RelatedRecordRef: RecordRef; var RecCaption: Text)
Parameters
| Name |
Type |
Description |
|
RelatedRecordRef
|
RecordRef |
|
|
RecCaption
|
Text |
|
OnAfterUpdateDocumentFields
[IntegrationEvent(False,False)]
local procedure OnAfterUpdateDocumentFields(var IncomingDocument: Record "Incoming Document"; var DocExists: Boolean)
Parameters
OnBeforeCreateManually
[IntegrationEvent(True,False)]
local procedure OnBeforeCreateManually(var IncomingDocument: Record "Incoming Document"; var IsHandled: Boolean)
Parameters
OnBeforeCreateSalesHeaderFromIncomingDoc
[IntegrationEvent(True,False)]
local procedure OnBeforeCreateSalesHeaderFromIncomingDoc(var SalesHeader: Record "Sales Header")
Parameters
OnBeforeDeleteApprovalEntries
[IntegrationEvent(True,False)]
local procedure OnBeforeDeleteApprovalEntries(var IncomingDocument: Record "Incoming Document"; var IsHandled: Boolean)
Parameters
OnBeforeShowResultMessage
[IntegrationEvent(True,False)]
local procedure OnBeforeShowResultMessage(var IncomingDocument: Record "Incoming Document"; var ErrorMessage: Record "Error Message"; var IsHandled: Boolean)
Parameters
OnBeforeFindFromIncomingDocumentEntryNo
[IntegrationEvent(False,False)]
local procedure OnBeforeFindFromIncomingDocumentEntryNo(MainRecordRef: RecordRef; var IncomingDocument: Record "Incoming Document"; var Result: Boolean; var IsHandled: Boolean)
Parameters
OnCreatePurchDocOnBeforePurchHeaderInsert
[IntegrationEvent(True,False)]
local procedure OnCreatePurchDocOnBeforePurchHeaderInsert(var PurchHeader: Record "Purchase Header")
Parameters
OnCreateGenJnlLineOnBeforeGenJnlLineInsert
[IntegrationEvent(True,False)]
local procedure OnCreateGenJnlLineOnBeforeGenJnlLineInsert(var GenJnlLine: Record "Gen. Journal Line"; LastGenJnlLine: Record "Gen. Journal Line")
Parameters
OnGetDataExchangePath
[IntegrationEvent(False,False)]
local procedure OnGetDataExchangePath(DataExchLineDef: Record "Data Exch. Line Def"; FieldNumber: Integer; var DataExchangePath: Text)
Parameters
OnBeforeGetJournalTemplateAndBatch
[IntegrationEvent(True,False)]
local procedure OnBeforeGetJournalTemplateAndBatch(var JournalTemplate: Code[10]; var JournalBatch: Code[10]; var IsHandled: Boolean)
Parameters
| Name |
Type |
Description |
|
JournalTemplate
|
Code[10] |
|
|
JournalBatch
|
Code[10] |
|
|
IsHandled
|
Boolean |
|
OnCreateGenJnlLineOnBeforeShowRecord
[IntegrationEvent(False,False)]
local procedure OnCreateGenJnlLineOnBeforeShowRecord(var IncomingDocument: Record "Incoming Document"; var IsHandled: Boolean)
Parameters
OnCreateSalesDocOnBeforeShowRecord
[IntegrationEvent(False,False)]
local procedure OnCreateSalesDocOnBeforeShowRecord(var IncomingDocument: Record "Incoming Document"; var IsHandled: Boolean)
Parameters
OnCreatePurchDocOnBeforeShowRecord
[IntegrationEvent(False,False)]
local procedure OnCreatePurchDocOnBeforeShowRecord(var IncomingDocument: Record "Incoming Document"; var IsHandled: Boolean)
Parameters
OnRemoveReferenceToWorkingDocumentOnBeforeModify
[IntegrationEvent(False,False)]
local procedure OnRemoveReferenceToWorkingDocumentOnBeforeModify(var IncomingDocument: Record "Incoming Document")
Parameters
OnAfterSetCreatedDocumentType
[IntegrationEvent(False,False)]
local procedure OnAfterSetCreatedDocumentType(var CreatedDocumentType: Dictionary of [Integer, Integer]; var CreatedDocumentStrMenu: Text)
Parameters
| Name |
Type |
Description |
|
CreatedDocumentType
|
Dictionary of [Integer, Integer] |
|
|
CreatedDocumentStrMenu
|
Text |
|
OnAfterCreateDocumentType
[IntegrationEvent(False,False)]
local procedure OnAfterCreateDocumentType(var IncomingDocument: Record "Incoming Document"; DocumentTypeEnum: Integer)
Parameters
OnTestIfAlreadyExists
[IntegrationEvent(False,False)]
local procedure OnTestIfAlreadyExists(IncomingRelatedDocumentType: Enum "Incoming Related Document Type"; EntryNo: Integer)
Parameters
OnBeforeGetRelatedDocType
[IntegrationEvent(False,False)]
local procedure OnBeforeGetRelatedDocType(PostingDate: Date; DocNo: Code[20]; var IsPosted: Boolean; var IncomingRelatedDocumentType: Enum "Incoming Related Document Type"; var IsHandled: Boolean)
Parameters
OnAfterClearRelatedRecords
[IntegrationEvent(False,False)]
local procedure OnAfterClearRelatedRecords(IncomingRelatedDocumentType: Enum "Incoming Related Document Type"; EntryNo: Integer)
Parameters
OnGetDataExchangePathOnBeforeCase
[IntegrationEvent(False,False)]
local procedure OnGetDataExchangePathOnBeforeCase(DataExchLineDef: Record "Data Exch. Line Def"; FieldNumber: Integer; DataExchangePath: Text)
Parameters
OnBeforeRemoveReferencedRecords
[IntegrationEvent(False,False)]
local procedure OnBeforeRemoveReferencedRecords(var IncomingDocument: Record "Incoming Document"; var IsHandled: Boolean)
Parameters
OnFindByDocumentNoAndPostingDateOnBeforeFind
[IntegrationEvent(False,False)]
local procedure OnFindByDocumentNoAndPostingDateOnBeforeFind(var IncomingDocument: Record "Incoming Document"; DocumentNo: Text; PostingDate: Date; var IsFound: Boolean; var IsHandled: Boolean)
Parameters
OnCreateSalesDocOnAfterModifySalesHeader
[IntegrationEvent(False,False)]
local procedure OnCreateSalesDocOnAfterModifySalesHeader(var IncomingDocument: Record "Incoming Document"; var SalesHeader: Record "Sales Header")
Parameters
OnCreatePurchDocOnAfterModifyPurchaseHeader
[IntegrationEvent(False,False)]
local procedure OnCreatePurchDocOnAfterModifyPurchaseHeader(var IncomingDocument: Record "Incoming Document"; var PurchaseHeader: Record "Purchase Header")
Parameters
OnBeforeUpdateIncomingDocumentFromPosting
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateIncomingDocumentFromPosting(IncomingDocumentNo: Integer; PostingDate: Date; DocNo: Code[20]; var IsHandled: Boolean)
Parameters
| Name |
Type |
Description |
|
IncomingDocumentNo
|
Integer |
|
|
PostingDate
|
Date |
|
|
DocNo
|
Code[20] |
|
|
IsHandled
|
Boolean |
|
OnBeforeShowRecord
[IntegrationEvent(False,False)]
local procedure OnBeforeShowRecord(var IncomingDocument: Record "Incoming Document"; var IsHandled: Boolean)
Parameters
OnFindUnpostedRecordOnAfterFilterGenJournalLine
[IntegrationEvent(False,False)]
local procedure OnFindUnpostedRecordOnAfterFilterGenJournalLine(var IncomingDocument: Record "Incoming Document"; var GenJournalLine: Record "Gen. Journal Line")
Parameters
OnBeforeCanReplaceMainAttachment
[IntegrationEvent(False,False)]
local procedure OnBeforeCanReplaceMainAttachment(var CanReplaceMainAttachment: Boolean; IncomingDocument: Record "Incoming Document"; var IsHandled: Boolean)
Parameters
OnBeforeTestIfAlreadyExists
[IntegrationEvent(False,False)]
local procedure OnBeforeTestIfAlreadyExists(IncomingDocument: Record "Incoming Document"; var IsHandled: Boolean)
Parameters
OnUpdateDocumentFieldsOnAfterUpdateDocuments
[IntegrationEvent(False,False)]
local procedure OnUpdateDocumentFieldsOnAfterUpdateDocuments(var IncomingDocument: Record "Incoming Document"; var DocExists: Boolean)
Parameters
OnFindByDocumentNoAndPostingDateOnSetFilters
[IntegrationEvent(False,False)]
local procedure OnFindByDocumentNoAndPostingDateOnSetFilters(var IncomingDocument: Record "Incoming Document"; MainRecordRef: RecordRef)
Parameters
OnAfterRemoveIncomingDocumentEntryNoFromUnpostedDocument
[IntegrationEvent(False,False)]
local procedure OnAfterRemoveIncomingDocumentEntryNoFromUnpostedDocument(var IncomingDocument: Record "Incoming Document"; RelatedRecord: Variant)
Parameters
See also