Skip to content

KVSKBAPurchPriceDiscCalcLine#

Fields#

Name Type Note
Document Type Enum Purchase Document Type
Document No. Code[20]
Document Line No. Integer
Line Type Option OptionMembers: Price,Line Discount
Line No. Integer
Condition No. Code[20]
Reference No. Integer
Description Text[50]
Calculation (Condition) Enum (KVSKBAPriceCalculation)
Operator (Condition) Enum (KVSKBAPriceCalcOperator)
Value (Condition) Decimal
Calculation Enum (KVSKBAPriceCalculation)
Operator Enum (KVSKBAPriceCalcOperator)
Per Cent Decimal
Initial Price Decimal
Currency Code (Init. Price) Code[10]
Currency Factor (Init. Price) Decimal
Exch. Rate Date (Init. Price) Date
Unit Of Measure (Init. Price) Code[10]
Qty. Per UOM (Init. Price) Decimal
Currency Code (Doc. Line) Code[10]
Currency Factor (Doc. Line) Decimal
Exchange Rate Date (Doc. Line) Date
Unit Of Measure (Doc. Line) Code[10]
Qty. Per UOM (Doc. Line) Decimal
Initial Price (Doc. Line) Decimal
Price (Doc. Line) Decimal
Amount (Doc. Line) Decimal
Result (Doc. Line) Decimal
Result % (Doc. Line) Decimal
Discount % (Doc. Line) Decimal

Events#

OnAfterTransferFieldFromPurchCondLine(Record KVSKBAPurchPriceDiscCalcLine, Record KVSKBAPurchaseConditionHeader, Record KVSKBAPurchaseConditionLine, Code[10]) :#

[IntegrationEvent(false, false)]
local procedure OnAfterTransferFieldFromPurchCondLine(var KVSKBAPurchPriceDiscCalcLine: Record "KVSKBAPurchPriceDiscCalcLine"; KVSKBAPurchaseConditionHeader: Record "KVSKBAPurchaseConditionHeader"; KVSKBAPurchaseConditionLine: Record "KVSKBAPurchaseConditionLine"; LanguageCode: Code[10]): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBAPurchPriceDiscCalcLine", 'OnAfterTransferFieldFromPurchCondLine', '', false, false)]
local procedure DoSomethingOnAfterTransferFieldFromPurchCondLine(var KVSKBAPurchPriceDiscCalcLine: Record "KVSKBAPurchPriceDiscCalcLine"; KVSKBAPurchaseConditionHeader: Record "KVSKBAPurchaseConditionHeader"; KVSKBAPurchaseConditionLine: Record "KVSKBAPurchaseConditionLine"; LanguageCode: Code[10])
begin
end;