Skip to content

KVSKBAOrderQuoteLine#

Fields#

Name Type Note
Document No. Code[20]
Line No. Integer
Type Enum (KVSKBABANFLineType)
No. Code[20]
Description 2 Text[50]
Quantity Decimal
Vendor No. Code[20]
Direct Unit Cost Decimal
Due Date Date
Requester ID Code[50]
Confirmed Boolean
Shortcut Dimension 1 Code Code[20]
Shortcut Dimension 2 Code Code[20]
Location Code Code[10]
Expiration Date Date
Order Date Date
Order Address Code Code[10]
Currency Code Code[10]
Currency Factor Decimal
Description Text[100]
Vendor Item No. Text[50]
Dimension Set ID Integer
Direct Unit Cost (Price Unit) Decimal
Price Unit Decimal
BANF No. with Filter Code[20]
Pseudo Item No. Code[20]
BANF URL Text[250]
Line Amount Decimal
Last Modify on DateTime
Last Modify from Code[50]
Variant Code Code[10]
Bin Code Code[20]
Qty. per Unit of Measure Decimal
Unit of Measure Code Code[10]
Quantity (Base) Decimal
Supply From Code[20]
User ID Code[50]
Item Category Code Code[20]
Nonstock Boolean
Purchasing Code Code[10]
Line Discount % Decimal
Purchase Order No. Code[20]

Procedures#

CreateDimFromDefaultDim(Integer) :#

procedure CreateDimFromDefaultDim(FieldNo: Integer): 

GetDirectUnitCost(Integer) :#

Summary: Get the direct unit cost for the current line.

procedure GetDirectUnitCost(CalledByFieldNo: Integer): 

Parameters:

  • CalledByFieldNo: The field number that called this function.

InitType() :#

procedure InitType(): 

GetPriceCalculationHandler(Record Purchase Header, Interface Price Calculation) :#

procedure GetPriceCalculationHandler(PurchaseHeader: Record "Purchase Header"; var PriceCalculation: Interface "Price Calculation"): 

GetPurchHeader() :#

procedure GetPurchHeader(): 

ClearFieldCausedPriceCalculation() :#

procedure ClearFieldCausedPriceCalculation(): 

PlanPriceCalcByField(Integer) :#

procedure PlanPriceCalcByField(CurrPriceFieldNo: Integer): 

GetLineWithPrice(Interface Line With Price) :#

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

IsPriceCalcCalledByField(Integer) : Boolean#

procedure IsPriceCalcCalledByField(CurrPriceFieldNo: Integer): Boolean

BANFLineTypeToTableID(Enum KVSKBABANFLineType) : Integer#

procedure BANFLineTypeToTableID(LineType: Enum "KVSKBABANFLineType"): Integer

Events#

OnAfterBANFLineTypeToTableID(Enum Sales Line Type, Integer) :#

[IntegrationEvent(false, false)]
local procedure OnAfterBANFLineTypeToTableID(Type: Enum "Sales Line Type"; var TableId: Integer): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBAOrderQuoteLine", 'OnAfterBANFLineTypeToTableID', '', false, false)]
local procedure DoSomethingOnAfterBANFLineTypeToTableID(Type: Enum "Sales Line Type"; var TableId: Integer)
begin
end;

OnAfterCopyFromItem(Record KVSKBAOrderQuoteLine, Record Item) :#

[IntegrationEvent(false, false)]
local procedure OnAfterCopyFromItem(var OrderQuoteLine: Record "KVSKBAOrderQuoteLine"; Item: Record "Item"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBAOrderQuoteLine", 'OnAfterCopyFromItem', '', false, false)]
local procedure DoSomethingOnAfterCopyFromItem(var OrderQuoteLine: Record "KVSKBAOrderQuoteLine"; Item: Record "Item")
begin
end;

OnBeforeCopyFromItem(Record KVSKBAOrderQuoteLine, Record Item) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCopyFromItem(var OrderQuoteLine: Record "KVSKBAOrderQuoteLine"; Item: Record "Item"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBAOrderQuoteLine", 'OnBeforeCopyFromItem', '', false, false)]
local procedure DoSomethingOnBeforeCopyFromItem(var OrderQuoteLine: Record "KVSKBAOrderQuoteLine"; Item: Record "Item")
begin
end;

OnBeforeGetDirectCost(Record KVSKBAOrderQuoteLine, Record KVSKBAOrderQuoteLine, Integer, Integer, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeGetDirectCost(var ReqLine: Record "KVSKBAOrderQuoteLine"; xReqLine: Record "KVSKBAOrderQuoteLine"; CalledByFieldNo: Integer; FieldNo: Integer; Subcontracting: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBAOrderQuoteLine", 'OnBeforeGetDirectCost', '', false, false)]
local procedure DoSomethingOnBeforeGetDirectCost(var ReqLine: Record "KVSKBAOrderQuoteLine"; xReqLine: Record "KVSKBAOrderQuoteLine"; CalledByFieldNo: Integer; FieldNo: Integer; Subcontracting: Boolean; var IsHandled: Boolean)
begin
end;

OnAfterInitDefaultDimensionSources(Record KVSKBAOrderQuoteLine, List, Integer) :#

[IntegrationEvent(false, false)]
local procedure OnAfterInitDefaultDimensionSources(var KVSKBAOrderQuoteLine: Record "KVSKBAOrderQuoteLine"; var DefaultDimSource: List; FieldNo: Integer): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBAOrderQuoteLine", 'OnAfterInitDefaultDimensionSources', '', false, false)]
local procedure DoSomethingOnAfterInitDefaultDimensionSources(var KVSKBAOrderQuoteLine: Record "KVSKBAOrderQuoteLine"; var DefaultDimSource: List; FieldNo: Integer)
begin
end;

OnBeforeInitDefaultDimensionSources(Record KVSKBAOrderQuoteLine, List, Integer) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeInitDefaultDimensionSources(var KVSKBAOrderQuoteLine: Record "KVSKBAOrderQuoteLine"; var DefaultDimSource: List; FieldNo: Integer): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBAOrderQuoteLine", 'OnBeforeInitDefaultDimensionSources', '', false, false)]
local procedure DoSomethingOnBeforeInitDefaultDimensionSources(var KVSKBAOrderQuoteLine: Record "KVSKBAOrderQuoteLine"; var DefaultDimSource: List; FieldNo: Integer)
begin
end;

OnBeforeCreateDim(Boolean, Record KVSKBAOrderQuoteLine) :#

[IntegrationEvent(true, false)]
local procedure OnBeforeCreateDim(var IsHandled: Boolean; var KVSKBAOrderQuoteLine: Record "KVSKBAOrderQuoteLine"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBAOrderQuoteLine", 'OnBeforeCreateDim', '', false, false)]
local procedure DoSomethingOnBeforeCreateDim(var IsHandled: Boolean; var KVSKBAOrderQuoteLine: Record "KVSKBAOrderQuoteLine")
begin
end;

OnAfterProcedureCreateDim(Record KVSKBAOrderQuoteLine, Integer, Record KVSKBAOrderQuoteLine) :#

[IntegrationEvent(false, false)]
local procedure OnAfterProcedureCreateDim(var KVSKBAOrderQuoteLine: Record "KVSKBAOrderQuoteLine"; CallingFieldNo: Integer; xKVSKBAOrderQuoteLine: Record "KVSKBAOrderQuoteLine"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBAOrderQuoteLine", 'OnAfterProcedureCreateDim', '', false, false)]
local procedure DoSomethingOnAfterProcedureCreateDim(var KVSKBAOrderQuoteLine: Record "KVSKBAOrderQuoteLine"; CallingFieldNo: Integer; xKVSKBAOrderQuoteLine: Record "KVSKBAOrderQuoteLine")
begin
end;

OnCreateDimOnBeforeUpdateGlobalDimFromDimSetID(Record KVSKBAOrderQuoteLine) :#

[IntegrationEvent(false, false)]
local procedure OnCreateDimOnBeforeUpdateGlobalDimFromDimSetID(var KVSKBAOrderQuoteLine: Record "KVSKBAOrderQuoteLine"): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBAOrderQuoteLine", 'OnCreateDimOnBeforeUpdateGlobalDimFromDimSetID', '', false, false)]
local procedure DoSomethingOnCreateDimOnBeforeUpdateGlobalDimFromDimSetID(var KVSKBAOrderQuoteLine: Record "KVSKBAOrderQuoteLine")
begin
end;

OnBeforeGetOrderQuote(Record KVSKBAOrderQuoteLine, Record KVSKBAOrderQuote, Record Currency, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeGetOrderQuote(KVSKBAOrderQuoteLine: Record "KVSKBAOrderQuoteLine"; KVSKBAOrderQuote: Record "KVSKBAOrderQuote"; var Currency: Record "Currency"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBAOrderQuoteLine", 'OnBeforeGetOrderQuote', '', false, false)]
local procedure DoSomethingOnBeforeGetOrderQuote(KVSKBAOrderQuoteLine: Record "KVSKBAOrderQuoteLine"; KVSKBAOrderQuote: Record "KVSKBAOrderQuote"; var Currency: Record "Currency"; var IsHandled: Boolean)
begin
end;

OnGetPurchHeaderOnAfterSetTempPurchaseTables(Record KVSKBAOrderQuoteLine, Record Purchase Header, Record Purchase Line) :#

[IntegrationEvent(false, false)]
local procedure OnGetPurchHeaderOnAfterSetTempPurchaseTables(Rec: Record "KVSKBAOrderQuoteLine"; var TempPurchaseHeader: Record "Purchase Header" temporary; var TempPurchaseLine: Record "Purchase Line" temporary): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBAOrderQuoteLine", 'OnGetPurchHeaderOnAfterSetTempPurchaseTables', '', false, false)]
local procedure DoSomethingOnGetPurchHeaderOnAfterSetTempPurchaseTables(Rec: Record "KVSKBAOrderQuoteLine"; var TempPurchaseHeader: Record "Purchase Header" temporary; var TempPurchaseLine: Record "Purchase Line" temporary)
begin
end;

OnBeforeIsLocationCodeAlterable(Record KVSKBAOrderQuoteLine, Integer, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeIsLocationCodeAlterable(OrderQuoteLine: Record "KVSKBAOrderQuoteLine"; CurrentFieldNo: Integer; var Result: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBAOrderQuoteLine", 'OnBeforeIsLocationCodeAlterable', '', false, false)]
local procedure DoSomethingOnBeforeIsLocationCodeAlterable(OrderQuoteLine: Record "KVSKBAOrderQuoteLine"; CurrentFieldNo: Integer; var Result: Boolean; var IsHandled: Boolean)
begin
end;