KVSKBASalesContractLine#
Fields#
Name | Type | Note |
---|---|---|
Contract No. | Code[20] | |
Line No. | Integer | |
Customer No. | Code[20] | |
Currency Code | Code[10] | |
Status | Option | OptionMembers: Open,Released,Finished |
Valid From | Date | |
Valid To | Date | |
KVSKBAPositionNo | Code[20] | |
Type | Option | OptionMembers: ,G/L Account,Item,Resource,,,,,,,,,,,,,,Item Price Group |
No. | Code[20] | |
Variant Code | Code[10] | |
Item Reference No. | Code[50] | |
Description | Text[100] | |
Description 2 | Text[50] | |
Unit Price | Decimal | |
KVSKBAPriceUnit | Decimal | |
KVSKBAUnitPricePriceUnit | Decimal | |
Line Discount % | Decimal | |
Unit of Measure Code | Code[10] | |
Unit of Measure | Text[50] | |
Qty. per Unit of Measure | Decimal | |
Quantity | Decimal | |
Quantity (Base) | Decimal | |
Quantity Shipped | Decimal | |
Qty. Shipped (Base) | Decimal | |
Outstanding Quantity | Decimal | |
Outstanding Qty. (Base) | Decimal | |
Qty. (Base) on Sales Order | Decimal | FlowField |
Completely Shipped | Boolean | |
Print Page Break | Boolean | |
Font Style | Enum (KVSKBAFontStyle) | |
Created on | DateTime | Warning: Obsolete |
Created by | Code[50] | Warning: Obsolete |
Modified on | DateTime | Warning: Obsolete |
Modified by | Code[50] | Warning: Obsolete |
Price Calculation Method | Enum Price Calculation Method |
Procedures#
GetSalesContractHeader() :#
procedure GetSalesContractHeader():
TestStatusOpen() :#
procedure TestStatusOpen():
SuspendStatusCheck(Boolean) :#
procedure SuspendStatusCheck(suspendPar: Boolean):
CountDiscount(Boolean) : Integer#
procedure CountDiscount(ShowAll: Boolean): Integer
CountPrice(Boolean) : Integer#
procedure CountPrice(ShowAll: Boolean): Integer
GetPriceCalculationHandler(Enum Price Type, Record KVSKBASalesContractHeader, Interface Price Calculation) :#
procedure GetPriceCalculationHandler(PriceType: Enum "Price Type"; LocalSalesContractHeader: Record "KVSKBASalesContractHeader"; var PriceCalculation: Interface "Price Calculation"):
GetLineWithPrice(Interface Line With Price) :#
procedure GetLineWithPrice(var LineWithPrice: Interface "Line With Price"):
Events#
OnAfterGetLineWithPrice(Interface Line With Price) :#
[IntegrationEvent(true, false)]
local procedure OnAfterGetLineWithPrice(var LineWithPrice: Interface "Line With Price"):
[EventSubscriber(ObjectType::Table, Table::"KVSKBASalesContractLine", 'OnAfterGetLineWithPrice', '', false, false)]
local procedure DoSomethingOnAfterGetLineWithPrice(var LineWithPrice: Interface "Line With Price")
begin
end;
OnAfterGetDateForCalculations(Date, Record KVSKBASalesContractHeader, Record KVSKBASalesContractLine) :#
[IntegrationEvent(false, false)]
local procedure OnAfterGetDateForCalculations(var DocumentDate: Date; KVSKBASalesContractHeader: Record "KVSKBASalesContractHeader"; KVSKBASalesContractLine: Record "KVSKBASalesContractLine"):
[EventSubscriber(ObjectType::Table, Table::"KVSKBASalesContractLine", 'OnAfterGetDateForCalculations', '', false, false)]
local procedure DoSomethingOnAfterGetDateForCalculations(var DocumentDate: Date; KVSKBASalesContractHeader: Record "KVSKBASalesContractHeader"; KVSKBASalesContractLine: Record "KVSKBASalesContractLine")
begin
end;
OnValidateNoOnAfterAssignFieldsForNo(Record KVSKBASalesContractLine, Record KVSKBASalesContractLine, Record KVSKBASalesContractHeader) :#
[IntegrationEvent(false, false)]
local procedure OnValidateNoOnAfterAssignFieldsForNo(var KVSKBASalesContractLine: Record "KVSKBASalesContractLine"; var xKVSKBASalesContractLine: Record "KVSKBASalesContractLine"; KVSKBASalesContractHeader: Record "KVSKBASalesContractHeader"):
[EventSubscriber(ObjectType::Table, Table::"KVSKBASalesContractLine", 'OnValidateNoOnAfterAssignFieldsForNo', '', false, false)]
local procedure DoSomethingOnValidateNoOnAfterAssignFieldsForNo(var KVSKBASalesContractLine: Record "KVSKBASalesContractLine"; var xKVSKBASalesContractLine: Record "KVSKBASalesContractLine"; KVSKBASalesContractHeader: Record "KVSKBASalesContractHeader")
begin
end;
OnValidateNoOnAfterAssignHeaderValues(Record KVSKBASalesContractLine, Record KVSKBASalesContractHeader) :#
[IntegrationEvent(false, false)]
local procedure OnValidateNoOnAfterAssignHeaderValues(var KVSKBASalesContractLine: Record "KVSKBASalesContractLine"; KVSKBASalesContractHeaderr: Record "KVSKBASalesContractHeader"):
[EventSubscriber(ObjectType::Table, Table::"KVSKBASalesContractLine", 'OnValidateNoOnAfterAssignHeaderValues', '', false, false)]
local procedure DoSomethingOnValidateNoOnAfterAssignHeaderValues(var KVSKBASalesContractLine: Record "KVSKBASalesContractLine"; KVSKBASalesContractHeaderr: Record "KVSKBASalesContractHeader")
begin
end;
OnAfterValidateItemReferenceOnBeforeItemReferenceInit(Record KVSKBASalesContractLine) :#
[IntegrationEvent(false, false)]
local procedure OnAfterValidateItemReferenceOnBeforeItemReferenceInit(var KVSKBASalesContractLine: Record "KVSKBASalesContractLine"):
[EventSubscriber(ObjectType::Table, Table::"KVSKBASalesContractLine", 'OnAfterValidateItemReferenceOnBeforeItemReferenceInit', '', false, false)]
local procedure DoSomethingOnAfterValidateItemReferenceOnBeforeItemReferenceInit(var KVSKBASalesContractLine: Record "KVSKBASalesContractLine")
begin
end;
OnBeforeItemReferenceNoLookup(Record KVSKBASalesContractLine, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeItemReferenceNoLookup(var KVSKBASalesContractLine: Record "KVSKBASalesContractLine"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Table, Table::"KVSKBASalesContractLine", 'OnBeforeItemReferenceNoLookup', '', false, false)]
local procedure DoSomethingOnBeforeItemReferenceNoLookup(var KVSKBASalesContractLine: Record "KVSKBASalesContractLine"; var IsHandled: Boolean)
begin
end;
OnBeforeShowLineDiscounts(Record KVSKBASalesContractLine, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeShowLineDiscounts(var KVSKBASalesContractLine: Record "KVSKBASalesContractLine"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Table, Table::"KVSKBASalesContractLine", 'OnBeforeShowLineDiscounts', '', false, false)]
local procedure DoSomethingOnBeforeShowLineDiscounts(var KVSKBASalesContractLine: Record "KVSKBASalesContractLine"; var IsHandled: Boolean)
begin
end;
OnBeforeShowPrices(Record KVSKBASalesContractLine, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeShowPrices(var KVSKBASalesContractLine: Record "KVSKBASalesContractLine"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Table, Table::"KVSKBASalesContractLine", 'OnBeforeShowPrices', '', false, false)]
local procedure DoSomethingOnBeforeShowPrices(var KVSKBASalesContractLine: Record "KVSKBASalesContractLine"; var IsHandled: Boolean)
begin
end;
OnValidateNoOnAfterVerifyChange(Record KVSKBASalesContractLine, Record KVSKBASalesContractLine) :#
[IntegrationEvent(false, false)]
local procedure OnValidateNoOnAfterVerifyChange(var SalesContractLine: Record "KVSKBASalesContractLine"; xSalesContractLine: Record "KVSKBASalesContractLine"):
[EventSubscriber(ObjectType::Table, Table::"KVSKBASalesContractLine", 'OnValidateNoOnAfterVerifyChange', '', false, false)]
local procedure DoSomethingOnValidateNoOnAfterVerifyChange(var SalesContractLine: Record "KVSKBASalesContractLine"; xSalesContractLine: Record "KVSKBASalesContractLine")
begin
end;
OnValidateNoOnCopyFromTempSalesLine(Record KVSKBASalesContractLine, Record KVSKBASalesContractLine) :#
[IntegrationEvent(false, false)]
local procedure OnValidateNoOnCopyFromTempSalesLine(var SalesContractLine: Record "KVSKBASalesContractLine"; var TempSalesContractLine: Record "KVSKBASalesContractLine" temporary):
[EventSubscriber(ObjectType::Table, Table::"KVSKBASalesContractLine", 'OnValidateNoOnCopyFromTempSalesLine', '', false, false)]
local procedure DoSomethingOnValidateNoOnCopyFromTempSalesLine(var SalesContractLine: Record "KVSKBASalesContractLine"; var TempSalesContractLine: Record "KVSKBASalesContractLine" temporary)
begin
end;
OnValidateNoOnBeforeInitRec(Record KVSKBASalesContractLine, Record KVSKBASalesContractLine, Integer) :#
[IntegrationEvent(false, false)]
local procedure OnValidateNoOnBeforeInitRec(var SalesContractLine: Record "KVSKBASalesContractLine"; xSalesContractLine: Record "KVSKBASalesContractLine"; CallingFieldNo: Integer):
[EventSubscriber(ObjectType::Table, Table::"KVSKBASalesContractLine", 'OnValidateNoOnBeforeInitRec', '', false, false)]
local procedure DoSomethingOnValidateNoOnBeforeInitRec(var SalesContractLine: Record "KVSKBASalesContractLine"; xSalesContractLine: Record "KVSKBASalesContractLine"; CallingFieldNo: Integer)
begin
end;
OnBeforeTestItemVariantBlocked(Record KVSKBASalesContractLine, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeTestItemVariantBlocked(Rec: Record "KVSKBASalesContractLine"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Table, Table::"KVSKBASalesContractLine", 'OnBeforeTestItemVariantBlocked', '', false, false)]
local procedure DoSomethingOnBeforeTestItemVariantBlocked(Rec: Record "KVSKBASalesContractLine"; var IsHandled: Boolean)
begin
end;
Protected Variables#
Currency#
Type: Record Currency
SalesContractHeader#
Type: Record (KVSKBASalesContractHeader)