TableExtension 37 Sales Line
TableExtension 18008301 EOS TableExt18008301
Added commission module data, extends “Sales Line”
Fields
EOS Customer Comm. Group Code (18008293)
Code[10]
TableRelation: "EOS Commission Group".Code where("Group Type" = const(Customer))
EOS Commission Group Code (18008292)
Code[10]
TableRelation: "EOS Commission Group".Code where("Group Type" = const(Product))
EOS Sales Network (18008290)
Code[10]
FieldClass: FlowField
CalcFormula: lookup("Sales Header"."EOS Sales Network" where("Document Type" = field("Document Type"), "No." = field("Document No.")))
TableRelation: "EOS Sales Network"
EOS Exclude from Commission (18008291)
Boolean
EOS CMS Orig. Doc. No. (18008294)
Code[20]
EOS CMS Orig. Doc. Line No. (18008295)
Integer
EOS Salesperson Set ID (18008320)
Integer
TableRelation: "EOS010 Salesperson Set Entry"."Salesperson Set ID"
Methods
EOSHasCommissionLine
procedure EOSHasCommissionLine(): Boolean
Parameters / Return Value
- Returns
Boolean
HasCommissionLine
Obsolete
Pending: Use EOSHasCommissionLine (25.0)procedure HasCommissionLine(): Boolean
Parameters / Return Value
- Returns
Boolean
EOSDeleteCommissionLine
procedure EOSDeleteCommissionLine()
deleteCommissionLine
Obsolete
Pending: Use EOSDeleteCommissionLine (25.0)procedure deleteCommissionLine()
EOSShowSalesPersons
procedure EOSShowSalesPersons(): Boolean
Show the Salespersons for the Sales Line (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 Sales Line
Parameters / Return Value
- Returns
Dictionary[Code,Code]
EOS010SetSalesPersons
procedure EOS010SetSalesPersons(SalesPerson: Dictionary of [Code[10], Code[20]])
Set the salespersons for the Sales Line (Inside, Rec.Modify is NOT invoked)
Parameters / Return Value
- SalesPerson
Dictionary[Code,Code]
EOS010SetSalesPersons
procedure EOS010SetSalesPersons(SalesPerson: Dictionary of [Code[10], Code[20]]; DoModify: Boolean)
Set the salespersons for the Sales Line (Inside Rec.Modify is invoked if DoModify is true)
Parameters / Return Value
SalesPerson
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.