Skip to content

KVSMEDBillingScheduleSplitLib#

Procedures#

CalcBillingSplitAmount(Record KVSMEDBillingScheduleSplit) :#

Summary: Calculate split amounts. In details these are the values of "Limitation on Order-Amount", "Calc Type", "Min. Amount", "Max. Amount", "Split Amount", "Manual Amount", "Calc. Amount". The results are provided in the KVSMEDBillingScheduleSplitResult record.

procedure CalcBillingSplitAmount(var KVSMEDBillingScheduleSplitSource: Record "KVSMEDBillingScheduleSplit"): 

Parameters:

  • KVSMEDBillingScheduleSplitSource:

GetBillingSplitAmount(Code[20], Code[10], Enum Sales Line Type, Code[20], Code[10], Code[10], Record KVSMEDBillingSplitControl) : Boolean#

procedure GetBillingSplitAmount(BillingCustomerNo: Code[20]; SalesOrderType: Code[10]; SalesLineType: Enum "Sales Line Type"; SalesLineNo: Code[20]; VariantCode: Code[10]; WorkType: Code[10]; var KVSMEDBillingSplitControlResult: Record "KVSMEDBillingSplitControl"): Boolean