Codeunit 18122278 EOS DCF Export MasterData
Codeunit 18122278 EOS DCF Export MasterData
Methods
GetLastRecordPK
procedure GetLastRecordPK(): Text
Parameters / Return Value
- Returns
Text
InitializeBatchID
procedure InitializeBatchID(BatchID: Guid)
Parameters / Return Value
- BatchID
Guid
Events
OnDiscoverMasterDataProcessors
local procedure OnDiscoverMasterDataProcessors(BatchID: Guid; var DocFMasterData: Record "EOS DCF MasterData"; var LastRecordPK: Text)
Event to handle all the procedure that want to manage the export of the MasterData
Parameters / Return Value
BatchID
Guid
The ID of the exportation
DocFMasterData
Record "EOS DCF MasterData"
The table where records will be written
LastRecordPK
Text
The PK of the current processing record, evalutate it before starting the process for correct error management.
OnBeforeExportGLAccounts
local procedure OnBeforeExportGLAccounts(var GLAccount: Record "G/L Account"; BatchID: Guid; var Handled: Boolean)
Event raised before the beginning of the process of all the GLAccount
Parameters / Return Value
GLAccount
Record "G/L Account"
All the GL accounts that will be processed already filtered
BatchID
Guid
The ID of the exportation
Handled
Boolean
OnAfterExportGLAccounts
local procedure OnAfterExportGLAccounts(var GLAccount: Record "G/L Account"; var DocFMasterData: Record "EOS DCF MasterData"; BatchID: Guid)
Event raised when the export of the GLAccounts has been completed
Parameters / Return Value
GLAccount
Record "G/L Account"
All the GL accounts that will be processed already filtered
DocFMasterData
Record "EOS DCF MasterData"
The master data inserted
BatchID
Guid
The ID of the exportation
OnBeforeExportCurrGLAccount
local procedure OnBeforeExportCurrGLAccount(GLAccount: Record "G/L Account"; BatchID: Guid; var Handled: Boolean)
Event raised before the beginning of the process of a single GLAccount
Parameters / Return Value
GLAccount
Record "G/L Account"
The current GLAccount
BatchID
Guid
The ID of the exportation
Handled
Boolean
Parameter to change if the export has been already handled
OnBeforeInsertCurrGLAccount
local procedure OnBeforeInsertCurrGLAccount(GLAccount: Record "G/L Account"; var DocFMasterData: Record "EOS DCF MasterData"; BatchID: Guid)
Event raised before the insert of the GLAccount in the DocFMasterData, all W1 fields has been handled
Parameters / Return Value
GLAccount
Record "G/L Account"
The current GLAccount
DocFMasterData
Record "EOS DCF MasterData"
The DocFMasterData before has been inserted
BatchID
Guid
The ID of the exportation
OnAfterInsertCurrGLAccount
local procedure OnAfterInsertCurrGLAccount(GLAccount: Record "G/L Account"; var DocFMasterData: Record "EOS DCF MasterData"; BatchID: Guid)
Event raised after the GLAccount has been inserted in the DocFMasterData
Parameters / Return Value
GLAccount
Record "G/L Account"
The current GLAccount
DocFMasterData
Record "EOS DCF MasterData"
The DocFMasterData after has been inserted
BatchID
Guid
The ID of the exportation
OnBeforeExportDocFAccountDecodes
local procedure OnBeforeExportDocFAccountDecodes(var DocFAccountDecode: Record "EOS DCF Account Decode"; BatchID: Guid; var Handled: Boolean)
Event raised before the beginning of the process of all the DocFAccountDecode
Parameters / Return Value
DocFAccountDecode
Record "EOS DCF Account Decode"
All the “DocFinance Account Decode” that will be processed already filtered
BatchID
Guid
The ID of the exportation
Handled
Boolean
OnAfterExportDocFAccountDecodes
local procedure OnAfterExportDocFAccountDecodes(var DocFAccountDecode: Record "EOS DCF Account Decode"; var DocFMasterData: Record "EOS DCF MasterData"; BatchID: Guid)
Event raised when the export of the DocFAccountDecodes has been completed
Parameters / Return Value
DocFAccountDecode
Record "EOS DCF Account Decode"
All the “DocFinance Account Decode” that will be processed already filtered
DocFMasterData
Record "EOS DCF MasterData"
The master data inserted
BatchID
Guid
The ID of the exportation
OnBeforeExportCurrDocFAccountDecode
local procedure OnBeforeExportCurrDocFAccountDecode(DocFAccountDecode: Record "EOS DCF Account Decode"; BatchID: Guid; var Handled: Boolean)
Event raised before the beginning of the process of a single DocFAccountDecode
Parameters / Return Value
DocFAccountDecode
Record "EOS DCF Account Decode"
The current DocFAccountDecode
BatchID
Guid
The ID of the exportation
Handled
Boolean
Parameter to change if the export has been already handled
OnBeforeInsertCurrDocFAccountDecode
local procedure OnBeforeInsertCurrDocFAccountDecode(DocFAccountDecode: Record "EOS DCF Account Decode"; var DocFMasterData: Record "EOS DCF MasterData"; BatchID: Guid)
Event raised before the insert of the DocFAccountDecode in the DocFMasterData, all W1 fields has been handled
Parameters / Return Value
DocFAccountDecode
Record "EOS DCF Account Decode"
The current DocFAccountDecode
DocFMasterData
Record "EOS DCF MasterData"
The DocFMasterData before has been inserted
BatchID
Guid
The ID of the exportation
OnAfterInsertCurrDocFAccountDecode
local procedure OnAfterInsertCurrDocFAccountDecode(DocFAccountDecode: Record "EOS DCF Account Decode"; var DocFMasterData: Record "EOS DCF MasterData"; BatchID: Guid)
Event raised after the DocFAccountDecode has been inserted in the DocFMasterData
Parameters / Return Value
DocFAccountDecode
Record "EOS DCF Account Decode"
The current DocFAccountDecode
DocFMasterData
Record "EOS DCF MasterData"
The DocFMasterData after has been inserted
BatchID
Guid
The ID of the exportation
OnBeforeExportBankAccounts
local procedure OnBeforeExportBankAccounts(var BankAccount: Record "Bank Account"; BatchID: Guid; var Handled: Boolean)
Event raised before the beginning of the process of all the BankAccount
Parameters / Return Value
BankAccount
Record "Bank Account"
All the Bank Accounts that will be processed already filtered
BatchID
Guid
The ID of the exportation
Handled
Boolean
OnAfterExportBankAccounts
local procedure OnAfterExportBankAccounts(var BankAccount: Record "Bank Account"; var DocFMasterData: Record "EOS DCF MasterData"; BatchID: Guid)
Event raised when the export of the BankAccounts has been completed
Parameters / Return Value
BankAccount
Record "Bank Account"
All the Bank Accounts that will be processed already filtered
DocFMasterData
Record "EOS DCF MasterData"
The master data inserted
BatchID
Guid
The ID of the exportation
OnBeforeExportCurrBankAccount
local procedure OnBeforeExportCurrBankAccount(BankAccount: Record "Bank Account"; BatchID: Guid; var Handled: Boolean)
Event raised before the beginning of the process of a single BankAccount
Parameters / Return Value
BankAccount
Record "Bank Account"
The current BankAccount
BatchID
Guid
The ID of the exportation
Handled
Boolean
Parameter to change if the export has been already handled
OnBeforeInsertCurrBankAccount
local procedure OnBeforeInsertCurrBankAccount(BankAccount: Record "Bank Account"; var DocFMasterData: Record "EOS DCF MasterData"; BatchID: Guid)
Event raised before the insert of the BankAccount in the DocFMasterData, all W1 fields has been handled
Parameters / Return Value
BankAccount
Record "Bank Account"
The current BankAccount
DocFMasterData
Record "EOS DCF MasterData"
The DocFMasterData before has been inserted
BatchID
Guid
The ID of the exportation
OnAfterInsertCurrBankAccount
local procedure OnAfterInsertCurrBankAccount(BankAccount: Record "Bank Account"; var DocFMasterData: Record "EOS DCF MasterData"; BatchID: Guid)
Event raised after the BankAccount has been inserted in the DocFMasterData
Parameters / Return Value
BankAccount
Record "Bank Account"
The current BankAccount
DocFMasterData
Record "EOS DCF MasterData"
The DocFMasterData after has been inserted
BatchID
Guid
The ID of the exportation
OnBeforeExportCustomers
local procedure OnBeforeExportCustomers(var Customer: Record "Customer"; BatchID: Guid; var Handled: Boolean)
Event raised before the beginning of the process of all the Customer
Parameters / Return Value
Customer
Record "Customer"
All the Customers that will be processed already filtered
BatchID
Guid
The ID of the exportation
Handled
Boolean
OnAfterExportCustomers
local procedure OnAfterExportCustomers(var Customer: Record "Customer"; var DocFMasterData: Record "EOS DCF MasterData"; BatchID: Guid)
Event raised when the export of the Customers has been completed
Parameters / Return Value
Customer
Record "Customer"
All the Customers that will be processed already filtered
DocFMasterData
Record "EOS DCF MasterData"
The master data inserted
BatchID
Guid
The ID of the exportation
OnBeforeExportCurrCustomer
local procedure OnBeforeExportCurrCustomer(Customer: Record "Customer"; BatchID: Guid; var Handled: Boolean)
Event raised before the beginning of the process of a single Customer
Parameters / Return Value
Customer
Record "Customer"
The current Customer
BatchID
Guid
The ID of the exportation
Handled
Boolean
Parameter to change if the export has been already handled
OnBeforeInsertCurrCustomer
local procedure OnBeforeInsertCurrCustomer(Customer: Record "Customer"; var DocFMasterData: Record "EOS DCF MasterData"; BatchID: Guid)
Event raised before the insert of the Customer in the DocFMasterData, all W1 fields has been handled
Parameters / Return Value
Customer
Record "Customer"
The current Customer
DocFMasterData
Record "EOS DCF MasterData"
The DocFMasterData before has been inserted
BatchID
Guid
The ID of the exportation
OnAfterInsertCurrCustomer
local procedure OnAfterInsertCurrCustomer(Customer: Record "Customer"; var DocFMasterData: Record "EOS DCF MasterData"; BatchID: Guid)
Event raised after the Customer has been inserted in the DocFMasterData
Parameters / Return Value
Customer
Record "Customer"
The current Customer
DocFMasterData
Record "EOS DCF MasterData"
The DocFMasterData after has been inserted
BatchID
Guid
The ID of the exportation
OnManageCustomerBankAccountFields
local procedure OnManageCustomerBankAccountFields(Customer: Record "Customer"; CustomerBankAccount: Record "Customer Bank Account"; var DocFMasterData: Record "EOS DCF MasterData"; BatchID: Guid)
Event raised after the management of W1 fields using the CustomerBankAccount
Parameters / Return Value
Customer
Record "Customer"
The current Customer
CustomerBankAccount
Record "Customer Bank Account"
The current CustomerBankAccount
DocFMasterData
Record "EOS DCF MasterData"
The DocFMasterData before has been inserted
BatchID
Guid
The ID of the exportation
OnBeforeExportVendors
local procedure OnBeforeExportVendors(var Vendor: Record "Vendor"; BatchID: Guid; var Handled: Boolean)
Event raised before the beginning of the process of all the Vendor
Parameters / Return Value
Vendor
Record "Vendor"
All the Vendors that will be processed already filtered
BatchID
Guid
The ID of the exportation
Handled
Boolean
OnAfterExportVendors
local procedure OnAfterExportVendors(var Vendor: Record "Vendor"; var DocFMasterData: Record "EOS DCF MasterData"; BatchID: Guid)
Event raised when the export of the Vendors has been completed
Parameters / Return Value
Vendor
Record "Vendor"
All the Vendors that will be processed already filtered
DocFMasterData
Record "EOS DCF MasterData"
The master data inserted
BatchID
Guid
The ID of the exportation
OnBeforeExportCurrVendor
local procedure OnBeforeExportCurrVendor(Vendor: Record "Vendor"; BatchID: Guid; var Handled: Boolean)
Event raised before the beginning of the process of a single Vendor
Parameters / Return Value
Vendor
Record "Vendor"
The current Vendor
BatchID
Guid
The ID of the exportation
Handled
Boolean
Parameter to change if the export has been already handled
OnBeforeInsertCurrVendor
local procedure OnBeforeInsertCurrVendor(Vendor: Record "Vendor"; var DocFMasterData: Record "EOS DCF MasterData"; BatchID: Guid)
Event raised before the insert of the Vendor in the DocFMasterData, all W1 fields has been handled
Parameters / Return Value
Vendor
Record "Vendor"
The current Vendor
DocFMasterData
Record "EOS DCF MasterData"
The DocFMasterData before has been inserted
BatchID
Guid
The ID of the exportation
OnAfterInsertCurrVendor
local procedure OnAfterInsertCurrVendor(Vendor: Record "Vendor"; var DocFMasterData: Record "EOS DCF MasterData"; BatchID: Guid)
Event raised after the Vendor has been inserted in the DocFMasterData
Parameters / Return Value
Vendor
Record "Vendor"
The current Vendor
DocFMasterData
Record "EOS DCF MasterData"
The DocFMasterData after has been inserted
BatchID
Guid
The ID of the exportation
OnManageVendorBankAccountFields
local procedure OnManageVendorBankAccountFields(Vendor: Record "Vendor"; VendorBankAccount: Record "Vendor Bank Account"; var DocFMasterData: Record "EOS DCF MasterData"; BatchID: Guid)
Event raised after the management of W1 fields using the VendorBankAccount
Parameters / Return Value
Vendor
Record "Vendor"
The current Vendor
VendorBankAccount
Record "Vendor Bank Account"
The current VendorBankAccount
DocFMasterData
Record "EOS DCF MasterData"
The DocFMasterData before has been inserted
BatchID
Guid
The ID of the exportation
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.