Skip to content

KVSKBAGeneralPriceCalcLine#

Fields#

Name Type Note
Entry No. Integer
Price Calculation Method Enum Price Calculation Method
Cost Calculation Method Enum Price Calculation Method
Asset Type Enum Price Asset Type
Asset No. Code[20]
Variant Code Code[10]
Item Disc. Group Code[20]
Location Code Code[10]
Work Type Code Code[10]
Currency Code Code[10]
Currency Factor Decimal
Document Date Date
Prices Including Tax Boolean
Tax % Decimal
VAT Calculation Type Integer
VAT Bus. Posting Group Code[20]
VAT Prod. Posting Group Code[20]
Quantity Decimal
Unit of Measure Code Code[10]
Qty. per Unit of Measure Decimal
Line Discount % Decimal
Allow Line Disc. Boolean
Allow Invoice Disc. Boolean
Unit Price Decimal
Price Type Enum Price Type
Is SKU Boolean
Responsibility Center Code[10]
Order Type Code[10]
Do not Find Best Price Boolean
Result Unit Price Decimal
Result Line Discount % Decimal
Result Direct Unit Cost Decimal
Item Price Group Quantity Decimal
Item Discount Group Quantity Decimal
Calc. Customer/ Vendor No. Code[20]
Item Category Code Code[20]
Initial Price Decimal
KVSKBAItemDiscGroup Code[20]
Price Source Document Line Enum (KVSKBAPriceSourceDocLine)
Item Price Group Code[10]

Procedures#

ApplyDiscount(Enum Price Type, Integer) :#

procedure ApplyDiscount(PriceType: Enum "Price Type"; CalledByFieldNo: Integer): 

ApplyPrice(Enum Price Type, Integer) :#

procedure ApplyPrice(PriceType: Enum "Price Type"; CalledByFieldNo: Integer): 

GetLineWithPrice(Interface Line With Price) :#

procedure GetLineWithPrice(var LineWithPrice: Interface "Line With Price"): 

FindGenerallyPurchasePrice(Record Vendor, Code[10], Code[10], Decimal, Date, Code[10], Record Item, Code[10], Decimal, Code[10], Decimal, Code[10], Decimal) : Decimal#

procedure FindGenerallyPurchasePrice(PayToVendor: Record "Vendor"; ResponsibilityCenterCode: Code[10]; CurrencyCode: Code[10]; CurrencyFactor: Decimal; DocumentDate: Date; LocationCode: Code[10]; Item: Record "Item"; VariantCode: Code[10]; Qty: Decimal; UnitOfMeasureCode: Code[10]; QtyPerUnitOfMeasure: Decimal; ItemPriceGroup: Code[10]; QtyItemPriceGrp: Decimal): Decimal

FindGenerallyPurchaseDiscount(Record Vendor, Code[10], Code[10], Decimal, Date, Code[10], Record Item, Code[10], Decimal, Code[10], Decimal, Decimal) : Decimal#

procedure FindGenerallyPurchaseDiscount(PayToVendor: Record "Vendor"; ResponsibilityCenterPar: Code[10]; CurrencyCode: Code[10]; CurrencyFactor: Decimal; DocumentDate: Date; LocationCode: Code[10]; Item: Record "Item"; VariantCode: Code[10]; Qty: Decimal; UnitOfMeasureCode: Code[10]; QtyPerUnitOfMeasure: Decimal; InitialPrice: Decimal): Decimal

Events#

OnAfterGetLineWithPrice(Interface Line With Price) :#

[IntegrationEvent(true, false)]
local procedure OnAfterGetLineWithPrice(var LineWithPrice: Interface "Line With Price"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBAGeneralPriceCalcLine", 'OnAfterGetLineWithPrice', '', false, false)]
local procedure DoSomethingOnAfterGetLineWithPrice(var LineWithPrice: Interface "Line With Price")
begin
end;