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