This element will become obsolete from version 17.0. Replaced by the new implementation (V16) of price calculation.
[Obsolete(Replaced by the new implementation (V16) of price calculation.,17.0)]
procedure AfterResourseFindCost(var ResourceCost: Record "Resource Cost")
procedure CalcVATAmountLines(QtyType: Option, var ServHeader: Record "Service Header", var ServiceLine: Record "Service Line", var VATAmountLine: Record "VAT Amount Line", isShip: Boolean)
procedure UpdateVATOnLines(QtyType: Option, var ServHeader: Record "Service Header", var ServiceLine: Record "Service Line", var VATAmountLine: Record "VAT Amount Line")
[IntegrationEvent(False,False)]
local procedure OnAfterInitDefaultDimensionSources(var ServiceLine: Record "Service Line", var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]], FieldNo: Integer)
[IntegrationEvent(False,False)]
local procedure OnAfterAssignHeaderValues(var ServiceLine: Record "Service Line", ServiceHeader: Record "Service Header")
[IntegrationEvent(False,False)]
local procedure OnAfterAssignStdTxtValues(var ServiceLine: Record "Service Line", StandardText: Record "Standard Text")
[IntegrationEvent(False,False)]
local procedure OnAfterAssignGLAccountValues(var ServiceLine: Record "Service Line", GLAccount: Record "G/L Account", ServiceHeader: Record "Service Header")
[IntegrationEvent(False,False)]
local procedure OnAfterAssignServCostValues(var ServiceLine: Record "Service Line", ServiceCost: Record "Service Cost")
[IntegrationEvent(False,False)]
local procedure OnAfterAssignItemValues(var ServiceLine: Record "Service Line", Item: Record Item, xServiceLine: Record "Service Line", CallingFieldNo: Integer, ServiceHeader: Record "Service Header")
[IntegrationEvent(False,False)]
local procedure OnAfterAssignServItemValues(var ServiceLine: Record "Service Line", ServiceItem: Record "Service Item", ServiceItemComp: Record "Service Item Component", HideReplacementDialog: Boolean)
[IntegrationEvent(False,False)]
local procedure OnAfterCheckApplFromItemLedgEntry(var ServiceLine: Record "Service Line", var ItemLedgerEntry: Record "Item Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnAfterClearFields(var ServiceLine: Record "Service Line", xServiceLine: Record "Service Line", TempServiceLine: Record "Service Line" temporary, CallingFieldNo: Integer)
[IntegrationEvent(False,False)]
local procedure OnAfterGetItemTranslation(var ServiceLine: Record "Service Line", ServiceHeader: Record "Service Header", ItemTranslation: Record "Item Translation")
This element will become obsolete from version 17.0. Replaced by the new implementation (V16) of price calculation.
[Obsolete(Replaced by the new implementation (V16) of price calculation.,17.0)]
[IntegrationEvent(False,False)]
local procedure OnAfterResourseFindCost(var ServiceLine: Record "Service Line", var ResourceCost: Record "Resource Cost")
[IntegrationEvent(False,False)]
local procedure OnAfterSetHideWarrantyWarning(var ServiceLine: Record "Service Line", var HideWarrantyWarning: Boolean)
[IntegrationEvent(False,False)]
local procedure OnAfterValidateServiceItemLineNumber(var Rec: Record "Service Line", var ServiceLine: Record "Service Line")
[IntegrationEvent(False,False)]
local procedure OnAfterUpdateVATOnLines(var ServHeader: Record "Service Header", var ServiceLine: Record "Service Line", var VATAmountLine: Record "VAT Amount Line", QtyType: Option)
[IntegrationEvent(False,False)]
local procedure OnAfterCalcVATAmount(VATAmountLine: Record "VAT Amount Line", NewAmount: Decimal, NewBase: Decimal, var VATAmount: Decimal)
[IntegrationEvent(False,False)]
local procedure OnAfterCalcVATAmountLines(var ServHeader: Record "Service Header", var ServiceLine: Record "Service Line", var VATAmountLine: Record "VAT Amount Line", QtyType: Option)
[IntegrationEvent(False,False)]
local procedure OnAfterInitOutstandingAmount(var ServiceLine: Record "Service Line", ServiceHeader: Record "Service Header", Currency: Record Currency)
[IntegrationEvent(False,False)]
local procedure OnAfterInitQtyToConsume(var ServiceLine: Record "Service Line", CurrFieldNo: Integer, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnAfterSalesTaxCalculate(var ServiceLine: Record "Service Line", ServiceHeader: Record "Service Header", Currency: Record Currency)
[IntegrationEvent(False,False)]
local procedure OnAfterSalesTaxCalculateReverse(var ServiceLine: Record "Service Line", ServiceHeader: Record "Service Header", Currency: Record Currency)
[IntegrationEvent(False,False)]
local procedure OnAfterSetHideReplacementDialog(var ServiceLine: Record "Service Line", var HideReplacementDialog: Boolean)
[IntegrationEvent(False,False)]
local procedure OnAfterValidateShortcutDimCode(var ServiceLine: Record "Service Line", var xServiceLine: Record "Service Line", FieldNumber: Integer, var ShortcutDimCode: Code[20])
[IntegrationEvent(False,False)]
local procedure OnBeforeApplyDiscount(ServiceHeader: Record "Service Header", var ServiceLine: Record "Service Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckVATCalculationType(var ServiceLine: Record "Service Line", VATPostingSetup: Record "VAT Posting Setup", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckQtyToInvoicePositive(var ServiceLine: Record "Service Line", CurrentFieldNo: Integer, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckQtyToShipPositive(var ServiceLine: Record "Service Line", CurrentFieldNo: Integer, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckQtyToConsumePositive(var ServiceLine: Record "Service Line", CurrentFieldNo: Integer, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeInitQtyToShip(var ServiceLine: Record "Service Line", CurrFieldNo: Integer, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCopyFromServItem(var ServiceLine: Record "Service Line", ServiceItem: Record "Service Item", ServItemComponent: Record "Service Item Component", var IsHandled: Boolean, var HideReplacementDialog: Boolean, ServItemLine: Record "Service Item Line", var Select: Integer, var ReplaceServItemAction: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCreateDim(var ServiceLine: Record "Service Line", CallingFieldNo: Integer, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeGetDefaultBin(var ServiceLine: Record "Service Line", CallingFieldNo: Integer, var IsHandled: Boolean, ReplaceServItemAction: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeGetSKU(var ServiceLine: Record "Service Line", var Result: Boolean, var IsHandled: Boolean, var SKU: Record "Stockkeeping Unit")
[IntegrationEvent(False,False)]
local procedure OnBeforeInitServHeaderShipToCode(var ServiceLine: Record "Service Line", var ServHeader: Record "Service Header", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeInitHeaderDefaults(var ServiceLine: Record "Service Line", var ServHeader: Record "Service Header", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeTestQuantityPositive(var ServiceLine: Record "Service Line", CallingFieldNo: Integer, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeTestQtyFromLineDiscountAmount(var ServiceLine: Record "Service Line", CurrentFieldNo: Integer, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeTestQtyFromLineAmount(var ServiceLine: Record "Service Line", xServiceLine: Record "Service Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeLookupShortcutDimCode(var ServiceLine: Record "Service Line", var xServiceLine: Record "Service Line", FieldNumber: Integer, var ShortcutDimCode: Code[20], var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateAmounts(var ServiceLine: Record "Service Line", xServiceLine: Record "Service Line", CurrentFieldNo: Integer, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateLineDiscPct(var ServiceLine: Record "Service Line", Currency: Record Currency, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateUnitPriceProcedure(var ServiceLine: Record "Service Line", CalledByFieldNo: Integer, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateUnitPriceByField(var ServiceLine: Record "Service Line", CalledByFieldNo: Integer, CalcCost: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateNeededByDate(var ServHeader: Record "Service Header", var ServiceLine: Record "Service Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateResponsibilityCenter(var Rec: Record "Service Line", var DimMgt: Codeunit DimensionManagement, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateServiceItemNo(var ServiceLine: Record "Service Line", var xServiceLine: Record "Service Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateQuantity(var ServiceLine: Record "Service Line", xServiceLine: Record "Service Line", CurrentFieldNo: Integer, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateQuantityInvIsBalanced(var ServiceLine: Record "Service Line", xServiceLine: Record "Service Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateQuantityShipIsBalanced(var ServiceLine: Record "Service Line", xServiceLine: Record "Service Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateQuantityConsumeIsBalanced(var ServiceLine: Record "Service Line", xServiceLine: Record "Service Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateShortcutDimCode(var ServiceLine: Record "Service Line", var xServiceLine: Record "Service Line", FieldNumber: Integer, var ShortcutDimCode: Code[20], var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateQuantityBase(var ServiceLine: Record "Service Line", var xServiceLine: Record "Service Line", FieldNumber: Integer, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateQtyToConsumeBase(var ServiceLine: Record "Service Line", var xServiceLine: Record "Service Line", FieldNumber: Integer, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateQtyToInvoiceBase(var ServiceLine: Record "Service Line", var xServiceLine: Record "Service Line", FieldNumber: Integer, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateQtyToShipBase(var ServiceLine: Record "Service Line", var xServiceLine: Record "Service Line", FieldNumber: Integer, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnCalcVATAmountLinesOnAfterCalcLineTotals(var VATAmountLine: Record "VAT Amount Line", ServHeader: Record "Service Header", ServiceLine: Record "Service Line", Currency: Record Currency, QtyType: Option, var TotalVATAmount: Decimal)
[IntegrationEvent(False,False)]
local procedure OnCheckItemAvailableOnBeforeCheckNonStock(var ServiceLine: Record "Service Line", FieldNumber: Integer, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnCopyFromResourceOnAfterCheckResource(var ServiceLine: Record "Service Line", Resource: Record Resource)
[IntegrationEvent(True,False)]
local procedure OnCopyFromCostOnAfterCalcShouldShowConfirm(var ServiceLine: Record "Service Line", ServiceCost: Record "Service Cost", HideCostWarning: Boolean, var ShouldShowConfirm: Boolean)
[IntegrationEvent(False,False)]
local procedure OnInitQtyToShipOnBeforeInitQtyToInvoice(var ServiceLine: Record "Service Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnInitQtyToInvoiceOnBeforeCalcInvDiscToInvoice(var ServiceLine: Record "Service Line", CurrentFieldNo: Integer)
[IntegrationEvent(False,False)]
local procedure OnInitHeaderDefaultsOnAfterAssignLocationCode(var ServiceLine: Record "Service Line", ServHeader: Record "Service Header")
[IntegrationEvent(False,False)]
local procedure OnValidateContractNoOnBeforeContractDiscountFind(var ServiceLine: Record "Service Line", var ContractServDisc: Record "Contract/Service Discount", ServItem: Record "Service Item")
[IntegrationEvent(False,False)]
local procedure OnValidateServiceItemLineNoOnBeforeValidateContractNo(var ServiceLine: Record "Service Line", ServItemLine: Record "Service Item Line")
[IntegrationEvent(False,False)]
local procedure OnValidateNoOnAfterCopyFields(var ServiceLine: Record "Service Line", var xServiceLine: Record "Service Line", ServiceHeader: Record "Service Header")
[IntegrationEvent(False,False)]
local procedure OnValidateVATProdPostingGroupOnAfterCopyFields(var ServiceLine: Record "Service Line", var xServiceLine: Record "Service Line", ServiceHeader: Record "Service Header")
[IntegrationEvent(False,False)]
local procedure OnValidateUnitOfMeasureCodeOnBeforeValidateQuantity(var ServiceLine: Record "Service Line", Item: Record Item)
[IntegrationEvent(False,False)]
local procedure OnValidateVariantCodeOnAssignItemVariant(var ServiceLine: Record "Service Line", ItemVariant: Record "Item Variant")
[IntegrationEvent(False,False)]
local procedure OnValidateQuantityOnAfterCalcQuantityBase(var ServiceLine: Record "Service Line", var xServiceLine: Record "Service Line")
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckIfCanBeModified(ServiceLine: Record "Service Line", var IsHandled: Boolean, xServiceLine: Record "Service Line")
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckItemAvailable(var ServiceLine: Record "Service Line", xServiceLine: Record "Service Line", CalledByFieldNo: Integer, var IsHandled: Boolean, CurrFieldNo: Integer)
[IntegrationEvent(False,False)]
local procedure OnBeforeShowNonstock(var ServiceLine: Record "Service Line", xServiceLine: Record "Service Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnDeleteOnAfterServiceLineSetFilter(var ServiceLine2: Record "Service Line", var ServiceLine: Record "Service Line")
[IntegrationEvent(False,False)]
local procedure OnBeforeShowDimensions(var ServiceLine: Record "Service Line", xServiceLine: Record "Service Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnLookupServiceItemNoOnAfterServItemSetFilters(var ServiceLine: Record "Service Line", ServHeader: Record "Service Header", var ServItem: Record "Service Item")
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateVATProdPostingGroup(var ServiceLine: Record "Service Line", xServiceLine: Record "Service Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnShowNonstockOnAfterUpdateFromNonstockItem(var ServiceLine: Record "Service Line", var xServiceLine: Record "Service Line")
[IntegrationEvent(False,False)]
local procedure OnUpdateAmountsOnAfterCalcShouldCheckCrLimit(var ServiceLine: Record "Service Line", IsCustCrLimitChecked: Boolean, CurrentFieldNo: Integer, var ShouldCheckCrLimit: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeGetCPGInvRoundAcc(ServiceHeader: Record "Service Header", var AccountNo: Code[20], var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnValidateApplToItemEntryOnBeforeShowNotOpenItemLedgerEntryMessage(var ServiceLine: Record "Service Line", xServiceLine: Record "Service Line", var ItemLedgerEntry: Record "Item Ledger Entry", CurrentFieldNo: Integer)
[IntegrationEvent(False,False)]
local procedure OnValidateReturnReasonCodeOnBeforeValidateLocationCode(var ServiceLine: Record "Service Line", ReturnReason: Record "Return Reason", var ShouldValidateLocationCode: Boolean)
[IntegrationEvent(False,False)]
local procedure OnValidateAmountOnAfterCalculateNormalVAT(var ServiceLine: Record "Service Line", ServiceHeader: Record "Service Header", Currency: Record Currency)
[IntegrationEvent(False,False)]
local procedure OnCalcVATAmountLinesOnBeforeUpdateLines(var TotalVATAmount: Decimal, Currency: Record Currency, ServiceHeader: Record "Service Header", var VATAmountLine: Record "VAT Amount Line" temporary, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnValidateAmountIncludingVATOnAfterCalculateNormalVAT(var ServiceLine: Record "Service Line", ServiceHeader: Record "Service Header", Currency: Record Currency)
[IntegrationEvent(False,False)]
local procedure OnUpdateCalcVATAmountLines(var ServiceHeader: Record "Service Header", var ServiceLine: Record "Service Line", var VATAmountLine: Record "VAT Amount Line", QtyType: Option, isShip: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnValidateQuantityOnBeforeResetAmounts(var ServiceLine: Record "Service Line", xServiceLine: Record "Service Line")
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateVATOnLines(var ServiceLine: Record "Service Line", xServiceLine: Record "Service Line", ServiceHeader: Record "Service Header", var VATAmountLine: Record "VAT Amount Line" temporary, QtyType: Option, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnUpdateAmountsOnAfterCalcExpectedLineAmount(var ServiceLine: Record "Service Line", xServiceLine: Record "Service Line", var ExpectedLineAmount: Decimal)
[IntegrationEvent(False,False)]
local procedure OnUpdateVATAmountsIfPricesInclVATOnAfterNormalVATCalc(var ServiceLine: Record "Service Line", ServHeader: Record "Service Header", Currency: Record Currency)
[IntegrationEvent(False,False)]
local procedure OnUpdateVATAmountsIfPricesExclVATOnAfterNormalVATCalc(var ServiceLine: Record "Service Line", ServHeader: Record "Service Header", Currency: Record Currency)
This element will become obsolete from version 27.0. The event is never raised
[Obsolete(The event is never raised,27.0)]
[IntegrationEvent(False,False)]
local procedure OnAfterUpdateVATOnLinesOnAfterCalcVATAmount(var ServiceLine: Record "Service Line", var TempVATAmountLineRemainder: Record "VAT Amount Line" temporary, VATAmountLine: Record "VAT Amount Line", var VATAmount: Decimal)
[IntegrationEvent(False,False)]
local procedure OnBeforeInitTableValuePair(var TableValuePair: Dictionary of [Integer, Code[20]], FieldNo: Integer, var IsHandled: Boolean, var ServiceLine: Record "Service Line")
[IntegrationEvent(False,False)]
local procedure OnAfterInitTableValuePair(var TableValuePair: Dictionary of [Integer, Code[20]], FieldNo: Integer, var ServiceLine: Record "Service Line")
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateWithWarehouseShipOnAfterVerifyType(var ServiceLine: Record "Service Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateJobNo(var ServiceLine: Record "Service Line", xServiceLine: Record "Service Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateJobTaskNo(var ServiceLine: Record "Service Line", xServiceLine: Record "Service Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnValidateFaultReasonCodeOnBeforeExcludeWarrantyDiscountCheck(var ServiceLine: Record "Service Line", xServiceLine: Record "Service Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnDeleteOnBeforeServiceEntriesError(var ServiceLine: Record "Service Line", var CheckServiceDocumentType: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCalculateDiscount(var ServiceLine: Record "Service Line", var IsHandled: Boolean, CurrentFieldNo: Integer)
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckErrorSelectedSI(var ServiceLine: Record "Service Line", var ServItemLineNo: Integer, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnCheckIfServiceLineMeetsReservedFromStockSetting(QtyToPost: Decimal, ReservedFromStock: Enum "Reservation From Stock", var Result: Boolean)
[IntegrationEvent(False,False)]
local procedure OnModifyOnAfterUpdateServiceLedgerEntry(var ServiceLine: Record "Service Line", xServiceLine: Record "Service Line")
[IntegrationEvent(False,False)]
local procedure OnValidateNoOnBeforeTestFields(var ServiceLine: Record "Service Line", CurrentFieldNo: Integer, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnValidateQtyToShipOnBeforeQtyToShipCheck(var ServiceLine: Record "Service Line", var xServiceLine: Record "Service Line", CallingFieldNo: Integer, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnValidateWorkTypeCodeOnBeforePlanPriceCalcByField(var ServiceLine: Record "Service Line", xServiceLine: Record "Service Line")
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateExcludeWarranty(var ServiceLine: Record "Service Line", xServiceLine: Record "Service Line", HideWarrantyWarning: Boolean, CurrentFieldNo: Integer, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnValidateContractNoOnBeforeAssignWarrantyDisc(var ServiceLine: Record "Service Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCopyFromCost(var ServiceLine: Record "Service Line", HideCostWarning: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnUpdateVATAmountsOnBeforeCalculateAmountWithNoVAT(var ServiceLine: Record "Service Line", TotalAmount: Decimal, TotalAmountInclVAT: Decimal, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckLineDiscount(var ServiceLine: Record "Service Line", LineDisc: Decimal, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeAutoReserve(var ServiceLine: Record "Service Line", xServiceLine: Record "Service Line", FullAutoReservation: Boolean, var ReserveServiceLine: Codeunit "Service Line-Reserve", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnCalcVATAmountLinesOnAfterServiceLineSetFilters(var ServiceLine: Record "Service Line", var ServiceHeader: Record "Service Header")
[IntegrationEvent(False,False)]
local procedure OnBeforeAddItems(var ServiceLine: Record "Service Line", SelectionFilter: Text, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnAfterPickDiscount(var ServiceLine: Record "Service Line", var PriceCalculation: Interface "Price Calculation")
[IntegrationEvent(False,False)]
local procedure OnAfterPickPrice(var ServiceLine: Record "Service Line", var PriceCalculation: Interface "Price Calculation")
[IntegrationEvent(False,False)]
local procedure OnBeforeCopyToItemJnlLine(var ItemJournalLine: Record "Item Journal Line", ServiceLine: Record "Service Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnAfterCopyToItemJnlLine(var ItemJournalLine: Record "Item Journal Line", ServiceLine: Record "Service Line")
[IntegrationEvent(False,False)]
local procedure OnAfterCopyToResJournalLine(var ResJournalLine: Record "Res. Journal Line", ServiceLine: Record "Service Line")
[IntegrationEvent(False,False)]
local procedure OnAfterGetVatBaseDiscountPct(var ServiceLine: Record "Service Line", var ServiceHeader: Record "Service Header", var Result: Decimal)
[IntegrationEvent(False,False)]
local procedure OnInsertVATAmountOnBeforeInsert(var ServiceLine: Record "Service Line", var VATAmountLine: Record "VAT Amount Line")
[IntegrationEvent(False,False)]
local procedure OnFindVATAmountLineOnAfterSetFilters(var ServiceLine: Record "Service Line", var VATAmountLine: Record "VAT Amount Line")
[IntegrationEvent(False,False)]
local procedure OnUpdateVATAmountsOnAfterCalculateVATBaseAmount(var ServiceLine: Record "Service Line", var ServiceHeader: Record "Service Header", var Currency: Record Currency, TotalAmount: Decimal, TotalVATBaseAmount: Decimal)
[IntegrationEvent(False,False)]
local procedure OnCalcVATAmountLinesOnBeforeVATAmountLineModifyInvoicing(var ServiceLine: Record "Service Line", var VATAmountLine: Record "VAT Amount Line")
[IntegrationEvent(False,False)]
local procedure OnCalcVATAmountLinesOnBeforeVATAmountLineModifyShipping(var ServiceLine: Record "Service Line", var VATAmountLine: Record "VAT Amount Line")
[IntegrationEvent(False,False)]
local procedure OnCalcVATAmountLinesOnBeforeVATAmountLineModifyElseCase(var ServiceLine: Record "Service Line", var VATAmountLine: Record "VAT Amount Line")
[IntegrationEvent(False,False)]
local procedure OnUpdateVATOnLinesOnAfterSetNewVATBaseAmountPriceInclVAT(var ServiceLine: Record "Service Line", var ServiceHeader: Record "Service Header", var VATAmountLine: Record "VAT Amount Line", var TempVATAmountLineRemainder: Record "VAT Amount Line" temporary, NewAmount: Decimal, var NewVATBaseAmount: Decimal)
[IntegrationEvent(False,False)]
local procedure OnUpdateVATOnLinesOnAfterSetNewVATBaseAmountPriceExclVAT(var ServiceLine: Record "Service Line", var ServiceHeader: Record "Service Header", var VATAmountLine: Record "VAT Amount Line", var TempVATAmountLineRemainder: Record "VAT Amount Line" temporary, NewAmount: Decimal, var NewVATBaseAmount: Decimal)
[IntegrationEvent(False,False)]
local procedure OnUpdateVATOnLinesOnAfterSetVATBaseAmountGeneral(var ServiceLine: Record "Service Line", var VATAmountLine: Record "VAT Amount Line", var Currency: Record Currency, NewVATBaseAmount: Decimal)
[IntegrationEvent(False,False)]
local procedure OnUpdateVATOnLinesOnBeforeTempVATAmountLineRemainderModify(var TempVATAmountLineRemainder: Record "VAT Amount Line" temporary, var ServiceLine: Record "Service Line", NewVATBaseAmount: Decimal)
[IntegrationEvent(False,False)]
local procedure OnAfterCalcVATDifference(var TempVATAmountLineRemainder: Record "VAT Amount Line" temporary, var VATAmountLine: Record "VAT Amount Line", LineAmount: Decimal)
[IntegrationEvent(False,False)]
local procedure OnAfterCopyFromVATPostingSetup(var ServiceLine: Record "Service Line", var VATPostingSetupFrom: Record "VAT Posting Setup")
This element will become obsolete from version 27.0. This event is never raised.
[Obsolete(This event is never raised.,27.0)]
[IntegrationEvent(False,False)]
local procedure OnAfterCopyPrepaymentFromVATPostingSetup(var ServiceLine: Record "Service Line", var VATPostingSetupFrom: Record "VAT Posting Setup")
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateLineAmount(var ServiceLine: Record "Service Line", xServiceLine: Record "Service Line", Currency: Record Currency, CurrentFieldNo: Integer, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnCalcVATAmountLinesOnBeforeUpdateVATAmountLine(var ServiceLine: Record "Service Line", var VATAmountLine: Record "VAT Amount Line", var TotalVATAmount: Decimal, Currency: Record Currency, var RoundingLineInserted: Boolean)
[IntegrationEvent(False,False)]
local procedure OnValidateQtyToConsumeOnBeforeQtyToConsumeCheck(var ServiceLine: Record "Service Line", var xServiceLine: Record "Service Line", CallingFieldNo: Integer, var IsHandled: Boolean)