TableExtension 18008294 EOS TableExt18008294
Added commission module data, extends “Sales Header”
18008293
)Code[10]
TableRelation: "EOS Commission Group".Code where("Group Type" = const(Customer))
18008290
)Code[10]
TableRelation: "EOS Sales Network"
18008291
)Integer
FieldClass: FlowField
CalcFormula: count("EOS Add. Salesperson/Purchaser" where( "Header Type" = const(36), "Header Ref. No." = const(0), #pragma warning disable AL0603 "Header Subtype" = field("Document Type"), #pragma warning restore AL0603 "Header ID" = field("No."), "Header Sub ID" = const('') ))
18008292
)Boolean
18008320
)Integer
TableRelation: "EOS010 Salesperson Set Entry"."Salesperson Set ID"
18008321
)Integer
FieldClass: FlowField
CalcFormula: count("EOS010 Salesperson Set Entry" where( "Salesperson Set ID" = field("EOS Salesperson Set ID")))
procedure GenerateDocCommission(RecalculateModified: Boolean; RecalculateCopied: Boolean)
RecalculateModified Boolean
RecalculateCopied Boolean
procedure EOSGenerateDocCommission(RecalculateModified: Boolean; RecalculateCopied: Boolean)
RecalculateModified Boolean
RecalculateCopied Boolean
procedure EOS010SetSkipAddSalespersonUpdate(NewValue: Boolean)
Set TRUE if you want to skip Commissions Additional Salesperson update when standard saleperson is modified
NewValue Boolean
New value to set behaviour of the system
procedure EOS010GetSkipAddSalespersonUpdate(): Boolean
Returns if Commissions Additional Salesperson update when standard saleperson is modified has to be skipped or not
Returns Boolean
TRUE: Update skipped, FALSE: standard app behaviour
procedure EOSShowSalesPersons(): Boolean
Boolean
procedure EOS010GetSalesPersons() Result: Dictionary of [Code[10], Code[20]]
Get the salespersons for the Sales Header
Dictionary[Code,Code]
procedure EOS010SetSalesPersons(SalesPersons: Dictionary of [Code[10], Code[20]])
Set the salespersons for the Sales Header (Inside, Rec.Modify is NOT invoked)
Dictionary[Code,Code]
procedure EOS010SetSalesPersons(SalesPersons: Dictionary of [Code[10], Code[20]]; DoModify: Boolean)
Set the salespersons for the Sales Header (Inside Rec.Modify is invoked if DoModify is true)
SalesPersons Dictionary[Code,Code]
DoModify Boolean
if true and the new salesperson engine is active a Rec.Modify(false) will be executed
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.