Codeunit 18123042 EOS EDoc. Setup Management
Gather all functions that handles setup table/pages functionalities
procedure GetHookList(var HookListTMP: Record "Name/Value Buffer" temporary)
Record "Name/Value Buffer"
procedure GetCustGroupSetup(CustNo: Code[20]; var EOSOutbEDocGroupSetup: Record "EOS Outb. EDoc. Group Setup"; HeaderRef: RecordRef): Boolean
CustNo Code[20]
EOSOutbEDocGroupSetup Record "EOS Outb. EDoc. Group Setup"
HeaderRef RecordRef
Returns Boolean
procedure GetVendGroupSetup(VendorNo: Code[20]; var EOSInbEDocSetupGroup: Record "EOS Inb. EDoc. Setup Group")
VendorNo Code[20]
EOSInbEDocSetupGroup Record "EOS Inb. EDoc. Setup Group"
procedure FindOutboundJobQueueEntry()
procedure FindOutboundJobQueueEntrySelfInv()
procedure FindInboundJobQueueEntry()
procedure BuildMappingFields(IsGuiAllowed: Boolean; DeleteExisting: Boolean)
IsGuiAllowed Boolean
DeleteExisting Boolean
procedure BuildMappingFields_Sempl(IsGuiAllowed: Boolean; DeleteExisting: Boolean)
IsGuiAllowed Boolean
DeleteExisting Boolean
procedure InsertMappingRecord(CodeID: Code[10]; XMLPath: Text[150]; SortOrder: Code[20]; DestTableID: Integer; DestFieldID: Integer; LineType: Integer; StartRecord: Boolean; ConcatenateValues: Boolean)
CodeID Code[10]
XMLPath Text[150]
SortOrder Code[20]
DestTableID Integer
DestFieldID Integer
LineType Integer
StartRecord Boolean
ConcatenateValues Boolean
procedure InsertSetupCodeDEFAULT()
procedure BuildChecksRecords(IsGuiAllowed: Boolean; SetupGroupCode: Code[10]; DeleteExisting: Boolean)
IsGuiAllowed Boolean
SetupGroupCode Code[10]
DeleteExisting Boolean
procedure InsertChecksRecord(CodeID: Code[10]; Descr: Text[80]; CheckType: Integer; ManEditable: Boolean; ContextID: Option; SetupGroupCode: Code[10])
CodeID Code[10]
Descr Text[80]
CheckType Integer
ManEditable Boolean
ContextID Option
SetupGroupCode Code[10]
procedure BuildRatingRecords(IsGuiAllowed: Boolean; SetupGroupCode: Code[10]; DeleteExisting: Boolean)
IsGuiAllowed Boolean
SetupGroupCode Code[10]
DeleteExisting Boolean
procedure InsertRatingRecord(CodeID: Code[10]; Descr: Text[80]; WeightValue: Integer; SetupGroupCode: Code[10])
CodeID Code[10]
Descr Text[80]
WeightValue Integer
SetupGroupCode Code[10]
procedure ImportXSLTemplate(VAR EOSInbEDocSetup: Record "EOS Inb. EDoc. Setup"; FieldNo: Integer)
EOSInbEDocSetup Record "EOS Inb. EDoc. Setup"
FieldNo Integer
procedure DownloadFileFromURL(VAR tmpBlob: Codeunit "Temp Blob"; Url: Text)
tmpBlob Codeunit "Temp Blob"
Url Text
procedure ExportXSLTemplate(var IncElectrDocSetup: Record "EOS Inb. EDoc. Setup"; FieldNo: Integer)
IncElectrDocSetup Record "EOS Inb. EDoc. Setup"
FieldNo Integer
procedure RemoveXSLTemplate(var IncElectrDocSetup: Record "EOS Inb. EDoc. Setup"; FieldNo: Integer)
IncElectrDocSetup Record "EOS Inb. EDoc. Setup"
FieldNo Integer
procedure CheckPostingDateAllowed(RecRef: RecordRef) RetValue: Boolean
RecRef RecordRef
Returns Boolean
procedure CheckPurchPostingDateAllowed(RecRef: RecordRef) RetValue: Boolean
RecRef RecordRef
Returns Boolean
procedure Load_1_6_FormatSetup(Hidedialog: Boolean)
Boolean
procedure Load_1_7_1_FormatSetup(Hidedialog: Boolean)
Boolean
local procedure OnBeforeCheckEDocTypeSelfInvoice(RecRef: RecordRef; var handled: boolean)
Raised before system checks that electr. doc. type of the dicument ha “Self Invoice” flag
RecRef RecordRef
The current header
handled boolean
if true, skips the standards
local procedure OnBeforeGenerateHookList(var HookListTMP: Record "Name/Value Buffer" temporary; var handled: Boolean)
On Before Generate Hook List
HookListTMP Record "Name/Value Buffer"
The hook list
handled Boolean
if true, skip the standard logics
local procedure OnAfterGenerateHookList(var HookListTMP: Record "Name/Value Buffer" temporary)
On After Generate Hook List: if you want to add custom logic to standard ones
HookListTMP Record "Name/Value Buffer"
The hook list
local procedure OnAfterCheckPostingDateAllowed(var RecRef: RecordRef; var RetValue: boolean; var MissingFieldsStr: Text)
On After Check Posting Date Allowed: used by Codeunit 80, on Posting Sale/Service order. Use to add Custom logic after the standard one
RecRef RecordRef
The current Sales/Service header
RetValue boolean
If false it will throw an error containing the MissingFieldsStr
MissingFieldsStr Text
The errors found
local procedure OnBeforeCheckPostingDateAllowed(var RecRef: RecordRef; var handled: boolean)
If you want to replace the standards check for Posting Date on posting Sales/Service header
RecRef RecordRef
The current Sales/Service header
handled boolean
if true, skips the standards
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.