Skip to content

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 reference
  • SurchargesVar: Surcharge amounts to be stored in Decimal 1
  • SumSurchargesDiscountsVar: Sum of surcharges and discounts to be stored in Decimal 2
  • TotalSumInclVATVar: Total sum including VAT to be stored in Decimal 3
  • TotalSumVar: Total sum to be stored in Decimal 4
  • LineAmountVar: Line amount to be stored in Decimal 5
  • TotalQtyRessVar: Total quantity resources to be stored in Decimal 6
  • TotalSumWOAlternVar: Total sum without alternatives to be stored in Decimal 7
  • SumGroupVar: Sum group type to be stored in Sum Type field
  • InitVar: Initialization flag to be stored in Boolean 1
  • ManualCalcVar: Manual calculation flag to be stored in Boolean 2
  • TotalSumWithBidSurch: Total sum with bidding surcharge to be stored in Decimal 8
  • TotalSumWithVAT: 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 1
  • SumSurchargesDiscountsVar: Variable to receive sum of surcharges and discounts from Decimal 2
  • TotalSumInclVATVar: Variable to receive total sum including VAT from Decimal 3
  • TotalSumVar: Variable to receive total sum from Decimal 4
  • LineAmountVar: Variable to receive line amount from Decimal 5
  • TotalQtyRessVar: Variable to receive total quantity resources from Decimal 6
  • TotalSumWOAlternVar: Variable to receive total sum without alternatives from Decimal 7
  • SumGroupVar: Variable to receive sum group type from Sum Type field
  • InitVar: Variable to receive initialization flag from Boolean 1
  • ManualCalcVar: Variable to receive manual calculation flag from Boolean 2
  • TotalSumWithBidSurch: Variable to receive total sum with bidding surcharge from Decimal 8
  • TotalSumWithVAT: Variable to receive total sum with VAT from Decimal 9