TableExtension 36 Sales Header

TableExtension 18008294 EOS TableExt18008294

Added commission module data, extends “Sales Header”

Fields

EOS Commission Group (18008293)

Code[10]

TableRelation: "EOS Commission Group".Code where("Group Type" = const(Customer))


EOS Sales Network (18008290)

Code[10]

TableRelation: "EOS Sales Network"


EOS Salesperson Code (18008291)

Integer

FieldClass: FlowField

CalcFormula: count("EOS Add. Salesperson/Purchaser" where( "Header Type" = const(36), "Header Ref. No." = const(0), "Header Subtype" = field("Document Type"), "Header ID" = field("No."), "Header Sub ID" = const('') ))


EOS Exclude from Commission (18008292)

Boolean


Methods

GenerateDocCommission

procedure GenerateDocCommission(RecalculateModified: Boolean; RecalculateCopied: Boolean)

Parameters / Return Value

  • RecalculateModified Boolean

  • RecalculateCopied Boolean


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 Boolean

    New 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 Boolean

    TRUE: Update skipped, FALSE: standard app behaviour



EOS Labs -