Skip to content

KVSEDX Outbound#

Fields#

Name Type Note
Entry No. Integer
EDX Status Enum (KVSEDX Status EDX Outbound)
EDX Partner No. Code[30]
EDX Document Code[30]
Source Record Text[150]
Transmission GUID Guid
Source Record ID RecordId
Message Log Integer FlowField
Error Log Integer FlowField
Transmission Date Date
Transmission Time Time
Transmission by Code[50]
Transfer File Blob
Azure Forwarding Message Blob
File Type Enum (KVSEDX File Type Message)
ANVEO Transaction ID Guid
EDX Collec. Transm. Boolean
Filename Text[250]
Path and Filename Text[250]
NAV Archive Version RecID RecordId
Event Type Enum (KVSEDX Database Event Type)
Confirmation Reason Enum (KVSEDX Confirmation Reason)
Confirmation Check Boolean
Confirmation Until DateTime
Confirmation Checked Boolean
EDX Commit Status Boolean
EDX Ignore Error Boolean

Procedures#

CreateOutbound(Code[30], RecordId, Record KVSEDX Outbound, Record KVSEDX Document Setup, Guid) : Boolean#

Summary: Creates a new outbound record

procedure CreateOutbound(SourcePartnerNo: Code[30]; SourceRecordId: RecordId; var KVSEDXOutbound: Record "KVSEDX Outbound"; KVSEDXDocumentSetup: Record "KVSEDX Document Setup"; TransmissionGuid: Guid): Boolean

Parameters:

  • SourcePartnerNo: EDX Partner No.
  • SourceRecordId: Record Id of source record (Example SalesShipmentHeader.RecordId)
  • KVSEDXOutbound: Referenced Outbound Record
  • KVSEDXDocumentSetup: EDX Document Setup
  • TransmissionGuid: Transmission GUID

Returns:

CreateOutboundLocked(Code[30], RecordId, Record KVSEDX Outbound, Record KVSEDX Document Setup, Guid) : Boolean#

Summary: Creates a new outbound record (EDX Status LOCKED)

procedure CreateOutboundLocked(SourcePartnerNo: Code[30]; SourceRecordId: RecordId; var KVSEDXOutbound: Record "KVSEDX Outbound"; KVSEDXDocumentSetup: Record "KVSEDX Document Setup"; TransmissionGuid: Guid): Boolean

Parameters:

  • SourcePartnerNo: EDX Partner No.
  • RecIDPar: Record Id of source record (Example SalesShipmentHeader.RecordId)
  • KVSEDXOutbound: Referenced Outbound Record
  • KVSEDXDocumentSetup: EDX Document Setup
  • TransmissionGuid: Transmission GUID

Returns:

ArchiveOutbound(Record KVSEDX Outbound) :#

Summary: Archives a outbound record

procedure ArchiveOutbound(ParKVSEDXOutbound: Record "KVSEDX Outbound"): 

Parameters:

  • ParKVSEDXInbound: Outbound Record to be archived

Events#

OnBeforeReprocessing(Record KVSEDX Outbound, Boolean) :#

[IntegrationEvent(true, false)]
local procedure OnBeforeReprocessing(var EDXOutboundVar: Record "KVSEDX Outbound"; var HandledVar: Boolean): 
[EventSubscriber(ObjectType::Table, Table::"KVSEDX Outbound", 'OnBeforeReprocessing', '', false, false)]
local procedure DoSomethingOnBeforeReprocessing(var EDXOutboundVar: Record "KVSEDX Outbound"; var HandledVar: Boolean)
begin
end;

OnSetEDXStatusBCDocument(Record KVSEDX Outbound, Boolean) :#

[IntegrationEvent(true, false)]
local procedure OnSetEDXStatusBCDocument(var VarKVSEDXOutbound: Record "KVSEDX Outbound"; var VarHandled: Boolean): 
[EventSubscriber(ObjectType::Table, Table::"KVSEDX Outbound", 'OnSetEDXStatusBCDocument', '', false, false)]
local procedure DoSomethingOnSetEDXStatusBCDocument(var VarKVSEDXOutbound: Record "KVSEDX Outbound"; var VarHandled: Boolean)
begin
end;