Codeunit 18008321 EOS010 SalesP Upgrade
Codeunit 18008321 EOS010 SalesP Upgrade
Methods
MigrateAllWithLog
procedure MigrateAllWithLog()
GetLogMessages
procedure GetLogMessages(): List of [Text]
Parameters / Return Value
- Returns
List[Text]
AddErrorMessagesToLog
procedure AddErrorMessagesToLog()
MigrateAll
procedure MigrateAll()
UpdateSourceRecord
procedure UpdateSourceRecord(var CurrentSalesP: Record "EOS Add. Salesperson/Purchaser"; SalespersonSetID: Integer)
Parameters / Return Value
CurrentSalesP
Record "EOS Add. Salesperson/Purchaser"
SalespersonSetID
Integer
UpdateSourceRecord
procedure UpdateSourceRecord(var CurrentSalesP: Record "EOS Add. Salesperson Archive"; SalespersonSetID: Integer)
Parameters / Return Value
CurrentSalesP
Record "EOS Add. Salesperson Archive"
SalespersonSetID
Integer
Events
OnObsoleteSubscriber
local procedure OnObsoleteSubscriber(EventSubscription: Record "Event Subscription"; var IsHandled: Boolean)
Raised while analyzing subscribers for the obsolete, unsupported, events You must handle all obsolete subscribers to proceed with the upgrade (Returning IsHandled = true).
Parameters / Return Value
EventSubscription
Record "Event Subscription"
IsHandled
Boolean
OnObsoleteTableExtension
local procedure OnObsoleteTableExtension(Fields: Record field; var IsHandled: Boolean)
Raised while analyzing the “EOS Add. Salesperson/Purchaser” table for tableextensions
Parameters / Return Value
Fields
Record "field"
IsHandled
Boolean
OnQueryUnknowTableSupport
local procedure OnQueryUnknowTableSupport(EOSAddSalespersonPurchaser: Record "EOS Add. Salesperson/Purchaser"; var IsHandled: Boolean)
Raised while analyzing the “EOS Add. Salesperson/Purchaser” table for unknown (custom) tables. You must handle all unknow tables references to proceed with the upgrade.
Parameters / Return Value
EOSAddSalespersonPurchaser
Record "EOS Add. Salesperson/Purchaser"
IsHandled
Boolean
OnQueryUnknowTableArchiveSupport
local procedure OnQueryUnknowTableArchiveSupport(EOSAddSalespersonArchive: Record "EOS Add. Salesperson Archive"; var IsHandled: Boolean)
Raised while analyzing the “EOS Add. Salesperson Archive” table for unknown (custom) tables. You must handle all unknow tables references to proceed with the upgrade.
Parameters / Return Value
EOSAddSalespersonArchive
Record "EOS Add. Salesperson Archive"
Unknow table
IsHandled
Boolean
OnUnknowTableUpdate
local procedure OnUnknowTableUpdate(CurrentSalesP: Record "EOS Add. Salesperson/Purchaser"; SalespersonSetID: Integer; var IsHandled: Boolean)
Raised for unknown (custom) tables while converting old “EOS Add. Salesperson/Purchaser” record table You must handle all unknow tables references to proceed with the upgrade.
Parameters / Return Value
CurrentSalesP
Record "EOS Add. Salesperson/Purchaser"
SalespersonSetID
Integer
IsHandled
Boolean
OnUnknowTableUpdateArchive
local procedure OnUnknowTableUpdateArchive(CurrentSalesP: Record "EOS Add. Salesperson Archive"; SalespersonSetID: Integer; var IsHandled: Boolean)
Raised for unknown (custom) tables while converting old “EOS Add. Salesperson/Purchaser” record table You must handle all unknow tables references to proceed with the upgrade.
Parameters / Return Value
CurrentSalesP
Record "EOS Add. Salesperson Archive"
SalespersonSetID
Integer
IsHandled
Boolean
OnBeforeUpdateCustomer
local procedure OnBeforeUpdateCustomer(var Customer: Record Customer; SalespersonSetID: Integer; var IsHandled: Boolean)
Raised before “Get” method. Use this event for “AddLoadFields()” if you encounter “jit” problems.
Parameters / Return Value
Customer
Record "Customer"
SalespersonSetID
Integer
IsHandled
Boolean
Return true if you take full responsibility for updating the ‘EOS Salesperson Set ID’ with the value of SalespersonSetID
OnBeforeUpdateShipToAddress
local procedure OnBeforeUpdateShipToAddress(var ShipToAddress: Record "Ship-to Address"; SalespersonSetID: Integer; var IsHandled: Boolean)
Raised before “Get” method. Use this event for “AddLoadFields()” if you encounter “jit” problems.
Parameters / Return Value
ShipToAddress
Record "Ship-to Address"
SalespersonSetID
Integer
IsHandled
Boolean
Return true if you take full responsibility for updating the ‘EOS Salesperson Set ID’ with the value of SalespersonSetID
OnBeforeUpdateSalesHeader
local procedure OnBeforeUpdateSalesHeader(var SalesHeader: Record "Sales Header"; SalespersonSetID: Integer; var IsHandled: Boolean)
Raised before “Get” method. Use this event for “AddLoadFields()” if you encounter “jit” problems.
Parameters / Return Value
SalesHeader
Record "Sales Header"
SalespersonSetID
Integer
IsHandled
Boolean
Return true if you take full responsibility for updating the ‘EOS Salesperson Set ID’ with the value of SalespersonSetID
OnBeforeUpdateSalesLine
local procedure OnBeforeUpdateSalesLine(var SalesLine: Record "Sales Line"; SalespersonSetID: Integer; var IsHandled: Boolean)
Raised before “Get” method. Use this event for “AddLoadFields()” if you encounter “jit” problems.
Parameters / Return Value
SalesLine
Record "Sales Line"
SalespersonSetID
Integer
IsHandled
Boolean
Return true if you take full responsibility for updating the ‘EOS Salesperson Set ID’ with the value of SalespersonSetID
OnBeforeUpdateSalesInvoiceHeader
local procedure OnBeforeUpdateSalesInvoiceHeader(var SalesInvoiceHeader: Record "Sales Invoice Header"; SalespersonSetID: Integer; var IsHandled: Boolean)
Raised before “Get” method. Use this event for “AddLoadFields()” if you encounter “jit” problems.
Parameters / Return Value
SalesInvoiceHeader
Record "Sales Invoice Header"
SalespersonSetID
Integer
IsHandled
Boolean
Return true if you take full responsibility for updating the ‘EOS Salesperson Set ID’ with the value of SalespersonSetID
OnBeforeUpdateSalesInvoiceLine
local procedure OnBeforeUpdateSalesInvoiceLine(var SalesInvoiceLine: Record "Sales Invoice Line"; SalespersonSetID: Integer; var IsHandled: Boolean)
Raised before “Get” method. Use this event for “AddLoadFields()” if you encounter “jit” problems.
Parameters / Return Value
SalesInvoiceLine
Record "Sales Invoice Line"
SalespersonSetID
Integer
IsHandled
Boolean
Return true if you take full responsibility for updating the ‘EOS Salesperson Set ID’ with the value of SalespersonSetID
OnBeforeUpdateSalesCreditMemoHeader
local procedure OnBeforeUpdateSalesCreditMemoHeader(var SalesCreditMemoHeader: Record "Sales Cr.Memo Header"; SalespersonSetID: Integer; var IsHandled: Boolean)
Raised before “Get” method. Use this event for “AddLoadFields()” if you encounter “jit” problems.
Parameters / Return Value
SalesCreditMemoHeader
Record "Sales Cr.Memo Header"
SalespersonSetID
Integer
IsHandled
Boolean
Return true if you take full responsibility for updating the ‘EOS Salesperson Set ID’ with the value of SalespersonSetID
OnBeforeUpdateSalesCreditMemoLine
local procedure OnBeforeUpdateSalesCreditMemoLine(var SalesCreditMemoLine: Record "Sales Cr.Memo Line"; SalespersonSetID: Integer; var IsHandled: Boolean)
Raised before “Get” method. Use this event for “AddLoadFields()” if you encounter “jit” problems.
Parameters / Return Value
SalesCreditMemoLine
Record "Sales Cr.Memo Line"
SalespersonSetID
Integer
IsHandled
Boolean
return true if you handle the “EOS Salesperson Set ID” field update
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.