Skip to content

KVSKBAServiceLine#

Extends #437dbf0e84ff417a965ded2bb9650972#Service Line

Fields#

Name Type Note
KVSKBAUnitPricePriceUnit Decimal
KVSKBAPriceUnit Decimal
KVSKBAItemPriceGroup Code[10]
KVSKBAItemDiscGroup Code[20]
KVSKBADocumentProcessID Code[20]
KVSKBAAlternative Enum (KVSKBAAlternative)
KVSKBAIndentation Integer
KVSKBASubtotal Decimal FlowField
KVSKBATotaling Text[20]
KVSKBAPrintLine Boolean
KVSKBAPrintPageBreak Boolean
KVSKBAFontStyle Enum (KVSKBAFontStyle)
KVSKBANullPosition Enum (KVSKBANullPosition) Warning: Obsolete
KVSKBAPostingCode Code[10]
KVSKBASaveAllowInvDisc Boolean
KVSKBAApplyToDispHandlingOrder Boolean
KVSKBAPriceCalcExist Boolean FlowField
KVSKBADiscountCalcExist Boolean FlowField
KVSKBAPriceOrigin Enum (KVSKBAServicePriceOrigin)
KVSKBALineDiscountOrigin Enum (KVSKBAServLineDiscountOrigin)
KVSKBALineAmount Decimal
KVSKBAPurchasingCode Code[10]
KVSKBASpecialOrder Boolean
KVSKBADropShipment Boolean
KVSKBAPurchaseOrderNo Code[20]
KVSKBAPurchOrderLineNo Integer
KVSKBASpecialOrderPurchaseNo Code[20]
KVSKBASpecialOrderPurchLineNo Integer

Procedures#

KVSKBAIsPriceUpdateOfOtherItemLinesRequired(Record Service Line) : Boolean#

Summary: Checks if a Price Update is required and return the check

procedure KVSKBAIsPriceUpdateOfOtherItemLinesRequired(OldServiceLine: Record "Service Line"): Boolean

Parameters:

  • OldServiceLine: Line to Check

Returns: Is Price Update Required

KVSKBAUpdateOtherItemLinesUnitPrice(Record Service Line) :#

procedure KVSKBAUpdateOtherItemLinesUnitPrice(OldServiceLine: Record "Service Line"): 

KVSKBACheckPriceCalculationMethod() : Boolean#

procedure KVSKBACheckPriceCalculationMethod(): Boolean

KVSKBASetPriceOrigin(Enum KVSKBAServicePriceOrigin) :#

Summary: Set the global Price Origin

procedure KVSKBASetPriceOrigin(NewServicePriceOrigin: Enum "KVSKBAServicePriceOrigin"): 

Parameters:

  • NewServicePriceOrigin: Price Origin to set

KVSKBASetLineDiscountOrigin(Enum KVSKBAServLineDiscountOrigin) :#

Summary: Set the global Line Discount Origion

procedure KVSKBASetLineDiscountOrigin(NewServLineDiscountOrigin: Enum "KVSKBAServLineDiscountOrigin"): 

Parameters:

  • NewServLineDiscountOrigin: Line Discount Origin to set

KVSKBASetDeletedInPage(Boolean) :#

Summary: Set the global Delete in Page

procedure KVSKBASetDeletedInPage(NewDeletedInPage: Boolean): 

Parameters:

  • NewDeletedInPage: New Value to set

KVSKBATestQuoteReleaseStatusOpen() :#

Summary: The function checks whether the current service quote header is released.

procedure KVSKBATestQuoteReleaseStatusOpen(): 

KVSKBASetSuppressTestQuoteReleaseStatusOpen() :#

Summary: Suppress Test QuoteReleaseStatus Open

procedure KVSKBASetSuppressTestQuoteReleaseStatusOpen(): 

Events#

KVSKBAOnBeforeAddCustomerNoAtKBATypes(Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSKBAOnBeforeAddCustomerNoAtKBATypes(var IsHandled: Boolean): 
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSKBAServiceLine", 'KVSKBAOnBeforeAddCustomerNoAtKBATypes', '', false, false)]
local procedure DoSomethingKVSKBAOnBeforeAddCustomerNoAtKBATypes(var IsHandled: Boolean)
begin
end;

KVSKBAOnBeforeUpdServicePriceDiscCalcLine(Record Service Line, Record KVSKBAServicePriceDiscCalcLine) :#

[IntegrationEvent(false, false)]
local procedure KVSKBAOnBeforeUpdServicePriceDiscCalcLine(ServiceLine: Record "Service Line"; var TempKVSKBAServicePriceDiscCalcLine: Record "KVSKBAServicePriceDiscCalcLine" temporary): 
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSKBAServiceLine", 'KVSKBAOnBeforeUpdServicePriceDiscCalcLine', '', false, false)]
local procedure DoSomethingKVSKBAOnBeforeUpdServicePriceDiscCalcLine(ServiceLine: Record "Service Line"; var TempKVSKBAServicePriceDiscCalcLine: Record "KVSKBAServicePriceDiscCalcLine" temporary)
begin
end;

KVSKBAOnBeforeCheckAllowFindNewServiceLinePrice(Record Service Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSKBAOnBeforeCheckAllowFindNewServiceLinePrice(ServiceLine: Record "Service Line"; var SkipPriceCalc: Boolean): 
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSKBAServiceLine", 'KVSKBAOnBeforeCheckAllowFindNewServiceLinePrice', '', false, false)]
local procedure DoSomethingKVSKBAOnBeforeCheckAllowFindNewServiceLinePrice(ServiceLine: Record "Service Line"; var SkipPriceCalc: Boolean)
begin
end;

KVSKBAOnBeforeCheckAllowFindNewServiceLineDiscount(Record Service Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSKBAOnBeforeCheckAllowFindNewServiceLineDiscount(ServiceLine: Record "Service Line"; var SkipLineDiscountCalc: Boolean): 
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSKBAServiceLine", 'KVSKBAOnBeforeCheckAllowFindNewServiceLineDiscount', '', false, false)]
local procedure DoSomethingKVSKBAOnBeforeCheckAllowFindNewServiceLineDiscount(ServiceLine: Record "Service Line"; var SkipLineDiscountCalc: Boolean)
begin
end;