TableExtension 222 Ship-to Address
TableExtension 18008304 EOS TableExt18008304
Added commission module data, extends “Ship-to Address”
Fields
EOS Sales Network (18008291)
Code[10]
FieldClass: FlowField
CalcFormula: lookup("EOS Cust. Network Combination"."Sales Network" where("Customer No." = field("Customer No."), "Ship-to Code" = field(Code), Default = const(true)))
EOS Salesperson Code (18008292)
Integer
FieldClass: FlowField
CalcFormula: count("EOS Add. Salesperson/Purchaser" where( "Header Type" = const(222), "Header Ref. No." = const(0), "Header ID" = field("Customer No."), "Header Sub ID" = field(Code) ))
Obsolete
Pending: New Additional SalesPerson Engine (26.0)EOS Salesperson Set ID (18008320)
Integer
TableRelation: "EOS010 Salesperson Set Entry"."Salesperson Set ID"
EOS Salespersons Count (18008321)
Integer
FieldClass: FlowField
CalcFormula: count("EOS010 Salesperson Set Entry" where( "Salesperson Set ID" = field("EOS Salesperson Set ID")))
Methods
EOS010ExecIntegrations
procedure EOS010ExecIntegrations(UpdateType: enum "EOS010 Trigger Type")
Executes the integrations based on the action type.
Parameters / Return Value
- UpdateType
enum "EOS010 Trigger Type"
EOS010SetSkipAddSalespersonUpdate
procedure EOS010SetSkipAddSalespersonUpdate(NewValue: Boolean)
Set TRUE if you want to skip Commissions Additional Salesperson update when standard saleperson is modified
Parameters / Return Value
NewValue
BooleanNew value to set behaviour of the system
EOS010GetSkipAddSalespersonUpdate
procedure EOS010GetSkipAddSalespersonUpdate(): Boolean
Returns if Commissions Additional Salesperson update when standard saleperson is modified has to be skipped or not
Parameters / Return Value
Returns
BooleanTRUE: Update skipped, FALSE: standard app behaviour
EOSShowSalesPersons
procedure EOSShowSalesPersons(): Boolean
Show the Salespersons for the Ship-to Address (handle both legacy page and new salesperson engine page)
Parameters / Return Value
Returns
Booleantrue if new sales persons engine and user changed the Role/Salesperson detail
EOS010GetSalesPersons
procedure EOS010GetSalesPersons() Result: Dictionary of [Code[10], Code[20]]
Get the salespersons for the Shipping Address
Parameters / Return Value
- Returns
Dictionary[Code,Code]
EOS010SetSalesPersons
procedure EOS010SetSalesPersons(SalesPersons: Dictionary of [Code[10], Code[20]])
Set the salespersons for the Ship-to Address (Inside, Rec.Modify is NOT invoked)
Parameters / Return Value
- SalesPersons
Dictionary[Code,Code]
EOS010SetSalesPersons
procedure EOS010SetSalesPersons(SalesPersons: Dictionary of [Code[10], Code[20]]; DoModify: Boolean)
Set the salespersons for the Ship-to Address (Inside Rec.Modify is invoked if DoModify is true)
Parameters / Return Value
SalesPersons
Dictionary[Code,Code]DoModify
Booleanif true and the new salesperson engine is active a Rec.Modify(false) will be executed
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.