KVSGAEB Journal Parameter#
Fields#
Name | Type | Note |
---|---|---|
Journal Batch Name | Code[50] | |
Journal Line No. | Integer | |
Decimal 1 | Decimal | |
Decimal 2 | Decimal | |
Decimal 3 | Decimal | |
Decimal 4 | Decimal | |
Decimal 5 | Decimal | |
Decimal 6 | Decimal | |
Decimal 7 | Decimal | |
Integer 1 | Integer | |
Boolean 1 | Boolean | |
Boolean 2 | Boolean | |
Sum Type | Enum (KVSGAEB Sum Type) | |
Decimal 8 | Decimal | |
Decimal 9 | Decimal |
Procedures#
InitializeRecordByPageVars(Record KVSGAEB Calc. Journal, Decimal, Decimal, Decimal, Decimal, Decimal, Decimal, Decimal, Enum KVSGAEB Sum Type, Boolean, Boolean, Decimal, Decimal) :#
Summary: Initializes the journal parameter record with values from page variables. Maps page variables to the corresponding record fields for parameter transfer between page and processing logic.
procedure InitializeRecordByPageVars(GAEBCalcJnlLinePar: Record "KVSGAEB Calc. Journal"; SurchargesVar: Decimal; SumSurchargesDiscountsVar: Decimal; TotalSumInclVATVar: Decimal; TotalSumVar: Decimal; LineAmountVar: Decimal; TotalQtyRessVar: Decimal; TotalSumWOAlternVar: Decimal; SumGroupVar: Enum "KVSGAEB Sum Type"; InitVar: Boolean; ManualCalcVar: Boolean; TotalSumWithBidSurch: Decimal; TotalSumWithVAT: Decimal):
Parameters:
GAEBCalcJnlLinePar
: GAEB calculation journal line for batch name and line number referenceSurchargesVar
: Surcharge amounts to be stored in Decimal 1SumSurchargesDiscountsVar
: Sum of surcharges and discounts to be stored in Decimal 2TotalSumInclVATVar
: Total sum including VAT to be stored in Decimal 3TotalSumVar
: Total sum to be stored in Decimal 4LineAmountVar
: Line amount to be stored in Decimal 5TotalQtyRessVar
: Total quantity resources to be stored in Decimal 6TotalSumWOAlternVar
: Total sum without alternatives to be stored in Decimal 7SumGroupVar
: Sum group type to be stored in Sum Type fieldInitVar
: Initialization flag to be stored in Boolean 1ManualCalcVar
: Manual calculation flag to be stored in Boolean 2TotalSumWithBidSurch
: Total sum with bidding surcharge to be stored in Decimal 8TotalSumWithVAT
: Total sum with VAT to be stored in Decimal 9
InitializePageVarsByRecord(Decimal, Decimal, Decimal, Decimal, Decimal, Decimal, Decimal, Enum KVSGAEB Sum Type, Boolean, Boolean, Decimal, Decimal) :#
Summary: Initializes page variables with values from the journal parameter record. Maps record fields back to page variables for parameter transfer from processing logic to page.
procedure InitializePageVarsByRecord(var SurchargesVar: Decimal; var SumSurchargesDiscountsVar: Decimal; var TotalSumInclVATVar: Decimal; var TotalSumVar: Decimal; var LineAmountVar: Decimal; var TotalQtyRessVar: Decimal; var TotalSumWOAlternVar: Decimal; var SumGroupVar: Enum "KVSGAEB Sum Type"; var InitVar: Boolean; var ManualCalcVar: Boolean; var TotalSumWithBidSurch: Decimal; var TotalSumWithVAT: Decimal):
Parameters:
SurchargesVar
: Variable to receive surcharge amounts from Decimal 1SumSurchargesDiscountsVar
: Variable to receive sum of surcharges and discounts from Decimal 2TotalSumInclVATVar
: Variable to receive total sum including VAT from Decimal 3TotalSumVar
: Variable to receive total sum from Decimal 4LineAmountVar
: Variable to receive line amount from Decimal 5TotalQtyRessVar
: Variable to receive total quantity resources from Decimal 6TotalSumWOAlternVar
: Variable to receive total sum without alternatives from Decimal 7SumGroupVar
: Variable to receive sum group type from Sum Type fieldInitVar
: Variable to receive initialization flag from Boolean 1ManualCalcVar
: Variable to receive manual calculation flag from Boolean 2TotalSumWithBidSurch
: Variable to receive total sum with bidding surcharge from Decimal 8TotalSumWithVAT
: Variable to receive total sum with VAT from Decimal 9