Skip to content

KVSEDX Base Data Processing#

Procedures#

CreateXMLDocument(RecordRef, Code[30], Code[30], OutStream, Guid) :#

procedure CreateXMLDocument(ParRecordRef: RecordRef; ParEDXPartnerNo: Code[30]; ParEDXDocument: Code[30]; var VarXmlOutStream: OutStream; TransmissionIDPar: Guid): 

Events#

OnCheckModificationCustomer(Record Customer, Record Customer, Boolean, Boolean) :#

[IntegrationEvent(true, false)]
local procedure OnCheckModificationCustomer(var CustomerVar: Record "Customer"; var xCustomerVar: Record "Customer"; var SendRecordVar: Boolean; var Processed: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSEDX Base Data Processing", 'OnCheckModificationCustomer', '', false, false)]
local procedure DoSomethingOnCheckModificationCustomer(var CustomerVar: Record "Customer"; var xCustomerVar: Record "Customer"; var SendRecordVar: Boolean; var Processed: Boolean)
begin
end;

OnCheckModificationVendor(Record Vendor, Record Vendor, Boolean, Boolean) :#

[IntegrationEvent(true, false)]
local procedure OnCheckModificationVendor(var VendorVar: Record "Vendor"; var xVendorVar: Record "Vendor"; var SendRecordVar: Boolean; var Processed: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSEDX Base Data Processing", 'OnCheckModificationVendor', '', false, false)]
local procedure DoSomethingOnCheckModificationVendor(var VendorVar: Record "Vendor"; var xVendorVar: Record "Vendor"; var SendRecordVar: Boolean; var Processed: Boolean)
begin
end;

OnCheckModificationItem(Record Item, Record Item, Boolean, Boolean) :#

[IntegrationEvent(true, false)]
local procedure OnCheckModificationItem(var ItemVar: Record "Item"; var xItemVar: Record "Item"; var SendRecordVar: Boolean; var Processed: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSEDX Base Data Processing", 'OnCheckModificationItem', '', false, false)]
local procedure DoSomethingOnCheckModificationItem(var ItemVar: Record "Item"; var xItemVar: Record "Item"; var SendRecordVar: Boolean; var Processed: Boolean)
begin
end;

OnGetDocumentCustomer(Record Customer, OutStream, Boolean) :#

[IntegrationEvent(true, false)]
local procedure OnGetDocumentCustomer(var CustomerVar: Record "Customer"; var OutStreamVar: OutStream; var DocumentAddedVar: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSEDX Base Data Processing", 'OnGetDocumentCustomer', '', false, false)]
local procedure DoSomethingOnGetDocumentCustomer(var CustomerVar: Record "Customer"; var OutStreamVar: OutStream; var DocumentAddedVar: Boolean)
begin
end;

OnGetDocumentVendor(Record Vendor, OutStream, Boolean) :#

[IntegrationEvent(true, false)]
local procedure OnGetDocumentVendor(var VendorVar: Record "Vendor"; var OutStreamVar: OutStream; var DocumentAddedVar: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSEDX Base Data Processing", 'OnGetDocumentVendor', '', false, false)]
local procedure DoSomethingOnGetDocumentVendor(var VendorVar: Record "Vendor"; var OutStreamVar: OutStream; var DocumentAddedVar: Boolean)
begin
end;

OnGetDocumentItem(Record Item, OutStream, Boolean) :#

[IntegrationEvent(true, false)]
local procedure OnGetDocumentItem(var ItemVar: Record "Item"; var OutStreamVar: OutStream; var DocumentAddedVar: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSEDX Base Data Processing", 'OnGetDocumentItem', '', false, false)]
local procedure DoSomethingOnGetDocumentItem(var ItemVar: Record "Item"; var OutStreamVar: OutStream; var DocumentAddedVar: Boolean)
begin
end;

OnBeforeCreateXMLNode(RecordRef, Code[30], Code[30], XmlNode, Boolean) :#

[IntegrationEvent(true, false)]
local procedure OnBeforeCreateXMLNode(var SourceRecordRef: RecordRef; EDXPartnerNo: Code[30]; EDXDocument: Code[30]; var TargetXMLNodeList: XmlNode; var Handled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSEDX Base Data Processing", 'OnBeforeCreateXMLNode', '', false, false)]
local procedure DoSomethingOnBeforeCreateXMLNode(var SourceRecordRef: RecordRef; EDXPartnerNo: Code[30]; EDXDocument: Code[30]; var TargetXMLNodeList: XmlNode; var Handled: Boolean)
begin
end;

OnWhitelistFlowField(RecordRef, FieldRef, Boolean) :#

[IntegrationEvent(true, false)]
local procedure OnWhitelistFlowField(var SourceRecordRef: RecordRef; var SourceFieldRef: FieldRef; var Handled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSEDX Base Data Processing", 'OnWhitelistFlowField', '', false, false)]
local procedure DoSomethingOnWhitelistFlowField(var SourceRecordRef: RecordRef; var SourceFieldRef: FieldRef; var Handled: Boolean)
begin
end;

OnBlobFieldGetBase64(RecordRef, FieldRef, Text, Boolean) :#

[IntegrationEvent(true, false)]
local procedure OnBlobFieldGetBase64(var SourceRecordRef: RecordRef; var SourceFieldRef: FieldRef; var Base64Text: Text; var Handled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSEDX Base Data Processing", 'OnBlobFieldGetBase64', '', false, false)]
local procedure DoSomethingOnBlobFieldGetBase64(var SourceRecordRef: RecordRef; var SourceFieldRef: FieldRef; var Base64Text: Text; var Handled: Boolean)
begin
end;