Codeunit 70491819 EOS074 Test Library
Codeunit 70491819 EOS074 Test Library
Methods
InitializeSetup
procedure InitializeSetup()
CreateMockStorageConfiguration
procedure CreateMockStorageConfiguration(var ServConfig: Record "EOS004 Service Config.")
Parameters / Return Value
- ServConfig
Record "EOS004 Service Config."
CreateEdiGroup
procedure CreateEdiGroup(var EdiGroup: Record "EOS074 EDI Group")
Parameters / Return Value
- EdiGroup
Record "EOS074 EDI Group"
CreateMessageSetup
procedure CreateMessageSetup(var EdiMessageSetup: Record "EOS074 EDI Message Setup"; MessageType: Enum "EOS074 Message Type")
Parameters / Return Value
EdiMessageSetup
Record "EOS074 EDI Message Setup"
MessageType
Enum "EOS074 Message Type"
SetLogLevel
procedure SetLogLevel(var EdiMessageSetup: Record "EOS074 EDI Message Setup"; NewLogLevel: Enum "EOS074 Log Level")
Parameters / Return Value
EdiMessageSetup
Record "EOS074 EDI Message Setup"
NewLogLevel
Enum "EOS074 Log Level"
GetOrCreateMessageSetup
procedure GetOrCreateMessageSetup(var EdiMessageSetup: Record "EOS074 EDI Message Setup"; EdiGroupCode: Code[10]; MessageType: Enum "EOS074 Message Type")
Parameters / Return Value
EdiMessageSetup
Record "EOS074 EDI Message Setup"
EdiGroupCode
Code[10]
MessageType
Enum "EOS074 Message Type"
SetEdiGroupCode
procedure SetEdiGroupCode(DocVariant: Variant; EdiGroup: Record "EOS074 EDI Group")
Parameters / Return Value
DocVariant
Variant
EdiGroup
Record "EOS074 EDI Group"
GetSingleEdiHeaderByDocument
procedure GetSingleEdiHeaderByDocument(DocumentVariant: Variant; var EdiHeader: Record "EOS074 EDI Message Header")
Parameters / Return Value
DocumentVariant
Variant
EdiHeader
Record "EOS074 EDI Message Header"
CreateSalesInvoiceMessage
Obsolete
Pending: Use CreateSalesInvoiceMessage instead (24.0)procedure CreateSalesInvoiceMessage(SalesInvHeader: Record "Sales Invoice Header"; ConversionReportId: Integer; WithExport: Boolean)
Parameters / Return Value
SalesInvHeader
Record "Sales Invoice Header"
ConversionReportId
Integer
WithExport
Boolean
CreateSalesInvoiceMessage
procedure CreateSalesInvoiceMessage(SalesInvHeader: Record "Sales Invoice Header"; ConversionReportId: Integer; ExportReportId: Integer; TypeImpExpCurr: enum "EOS074 Type Imp/Exp"; WithExportOrImport: Boolean; MessageType: enum "EOS074 Message Type")
Parameters / Return Value
SalesInvHeader
Record "Sales Invoice Header"
ConversionReportId
Integer
ExportReportId
Integer
TypeImpExpCurr
enum "EOS074 Type Imp/Exp"
WithExportOrImport
Boolean
MessageType
enum "EOS074 Message Type"
CreateSalesInvoiceMessage
Obsolete
Pending: Use CreateSalesInvoiceMessage instead (24.0)procedure CreateSalesInvoiceMessage(SalesInvHeader: Record "Sales Invoice Header"; ConversionReportId: Integer; TypeImpExpCurr: enum "EOS074 Type Imp/Exp"; WithExportOrImport: Boolean; MessageType: enum "EOS074 Message Type")
Parameters / Return Value
SalesInvHeader
Record "Sales Invoice Header"
ConversionReportId
Integer
TypeImpExpCurr
enum "EOS074 Type Imp/Exp"
WithExportOrImport
Boolean
MessageType
enum "EOS074 Message Type"
PostSalesInvoiceWithEdiSetup
procedure PostSalesInvoiceWithEdiSetup(var SalesInvHeader: Record "Sales Invoice Header"; var EdiMessageSetup: Record "EOS074 EDI Message Setup")
Parameters / Return Value
SalesInvHeader
Record "Sales Invoice Header"
EdiMessageSetup
Record "EOS074 EDI Message Setup"
IsFileArchived
procedure IsFileArchived(EdiMessageSetup: Record "EOS074 EDI Message Setup"): Boolean
Parameters / Return Value
EdiMessageSetup
Record "EOS074 EDI Message Setup"
Returns
Boolean
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.