Table 39 Purchase Line

Base Application, Microsoft.Purchases.Document

184 procedures

ProcedureVersions
InitOutstanding()17-29
InitOutstandingAmount()17-29
InitQtyToReceive()17-29
InitQtyToShip()17-29
InitQtyToInvoice()17-29
MaxQtyToInvoice(): Decimal17-29
MaxQtyToInvoiceBase(): Decimal17-29
CalcInvDiscToInvoice()17-29
CalcLineAmount(): Decimal17-29
SetPurchHeader(NewPurchHeader: Record "Purchase Header")17-29
GetPurchHeader(): Record "Purchase Header"17-29changed in 20
GetRemainingQty(var RemainingQty: Decimal; var RemainingQtyBase: Decimal)17-29
GetReservationQty(var QtyReserved: Decimal; var QtyReservedBase: Decimal; var QtyToReserve: Decimal; var QtyToReserveBase: Decimal): Decimal17-29
GetSourceCaption(): Text17-29
SetReservationEntry(var ReservEntry: Record "Reservation Entry")17-29
SetReservationFilters(var ReservEntry: Record "Reservation Entry")17-29
ReservEntryExist(): Boolean17-29
IsPriceCalcCalledByField(CurrPriceFieldNo: Integer): Boolean17-29
PlanPriceCalcByField(CurrPriceFieldNo: Integer)17-29
ClearFieldCausedPriceCalculation()17-29
UpdateDirectUnitCost(CalledByFieldNo: Integer)17-29
GetLineWithPrice(var LineWithPrice: Interface "Line With Price")17-29
CountDiscount(ShowAll: Boolean): Integer17-29
CountPrice(ShowAll: Boolean): Integer17-29
DiscountExists(ShowAll: Boolean): Boolean17-29
PriceExists(ShowAll: Boolean): Boolean17-29
PickDiscount()17-29
PickPrice()17-29
UpdateReferencePriceAndDiscount()17-29
UpdateUnitCost()17-29
UpdateAmounts()17-29
UpdateVATAmounts()17-29
UpdatePrepmtSetupFields()17-29
UpdateUOMQtyPerStockQty()17-29
SelectMultipleItems()17-29
ShowReservation()17-29
ShowReservationEntries(Modal: Boolean)17-29
GetDate(): Date17-29
Signed(Value: Decimal): Decimal17-29
BlanketOrderLookup()17-29
BlockDynamicTracking(SetBlock: Boolean)17-29
ShowDimensions(): Boolean17-29
OpenItemTrackingLines()17-29
ValidateShortcutDimCode(FieldNumber: Integer; var ShortcutDimCode: Code[20])17-29
LookupShortcutDimCode(FieldNumber: Integer; var ShortcutDimCode: Code[20])17-29
ShowShortcutDimCode(var ShortcutDimCode: array[8] of Code[20])17-29
ShowItemChargeAssgnt()17-29
UpdateItemChargeAssgnt()17-29
DeleteItemChargeAssignment(DocType: Enum "Purchase Document Type"; DocNo: Code[20]; DocLineNo: Integer)17-29
CheckItemChargeAssgnt()17-29
GetCaptionClass(FieldNumber: Integer): Text[80]17-29
TestStatusOpen()17-29
GetSuspendedStatusCheck(): Boolean17-29
SuspendStatusCheck(Suspend: Boolean)17-29
UpdateLeadTimeFields()17-29
GetUpdateBasicDates()17-29
UpdateDates()17-29
InternalLeadTimeDays(PurchDate: Date): Text[30]17-29
UpdateVATOnLines(QtyType: Option General,Invoicing,Shipping; var PurchHeader: Record "Purchase Header"; var PurchLine: Record "Purchase Line"; var VATAmountLine: Record "VAT Amount Line"): Boolean17-29
CalcVATAmountLines(QtyType: Option General,Invoicing,Shipping; var PurchHeader: Record "Purchase Header"; var PurchLine: Record "Purchase Line"; var VATAmountLine: Record "VAT Amount Line")17-29
UpdateWithWarehouseReceive()17-29
GetItemTranslation()17-29
AdjustDateFormula(DateFormulatoAdjust: DateFormula): Text[30]17-29
RowID1(): Text[250]17-29
IsInbound(): Boolean17-29
ItemExists(ItemNo: Code[20]): Boolean17-29
CalcPrepaymentToDeduct()17-29
IsFinalInvoice(): Boolean17-29
GetLineAmountToHandle(QtyToHandle: Decimal): Decimal17-29
GetLineAmountToHandleInclPrepmt(QtyToHandle: Decimal): Decimal17-29
JobTaskIsSet(): Boolean17-29
CreateTempJobJnlLine(GetPrices: Boolean)17-29
UpdateJobPrices()17-29
JobSetCurrencyFactor()17-29
SetUpdateFromVAT(UpdateFromVAT2: Boolean)17-29
InitQtyToReceive2()17-29
ClearQtyIfBlank()17-29
ShowLineComments()17-29
SetDefaultQuantity()17-29
UpdatePrePaymentAmounts()17-29
SetVendorItemNo()17-29
ZeroAmountLine(QtyType: Option General,Invoicing,Shipping): Boolean17-29
FilterLinesWithItemToPlan(var Item: Record Item; DocumentType: Enum "Purchase Document Type")17-29
FindLinesWithItemToPlan(var Item: Record Item; DocumentType: Enum "Purchase Document Type"): Boolean17-29
LinesWithItemToPlanExist(var Item: Record Item; DocumentType: Enum "Purchase Document Type"): Boolean17-29
FilterLinesForReservation(ReservationEntry: Record "Reservation Entry"; DocumentType: Enum "Purchase Document Type"; AvailabilityFilter: Text; Positive: Boolean)17-29
GetVPGInvRoundAcc(var PurchHeader: Record "Purchase Header"): Code[20]17-29
IsReceivedShippedItemDimChanged(): Boolean17-29
ConfirmReceivedShippedItemDimChange(): Boolean17-29
InitType()17-29
CheckLocationOnWMS()17-29
IsNonInventoriableItem(): Boolean17-29
IsInventoriableItem(): Boolean17-29
ValidateLineDiscountPercent(DropInvoiceDiscountAmount: Boolean)17-29
UpdateICPartner()17-29
HasTypeToFillMandatoryFields(): Boolean17-29
GetDeferralAmount(): Decimal17-29
ShowDeferrals(PostingDate: Date; CurrencyCode: Code[10]): Boolean17-29
InitDeferralCode()17-29
DefaultDeferralCode()17-29
IsCreditDocType(): Boolean17-29
IsInvoiceDocType(): Boolean17-29
CanEditUnitOfMeasureCode(): Boolean17-29
TestItemFields(ItemNo: Code[20]; VariantCode: Code[10]; LocationCode: Code[10])17-29
ClearPurchaseHeader()17-29
SendLineInvoiceDiscountResetNotification()17-29
FormatType(): Text[20]17-29
Pending, tag 29.0, obsolete since 29.0: Use FormatTypeAsText() instead.
RenameNo(LineType: Enum "Purchase Document Type"; OldNo: Code[20]; NewNo: Code[20])17-29
AssignedItemCharge(): Boolean17-29
ShowDeferralSchedule()17-29
GetLineAmountExclVAT(): Decimal17-29
GetLineAmountInclVAT(): Decimal17-29
SetHasBeenShown()new in 18
GetPriceCalculationHandler(PurchaseHeader: Record "Purchase Header"; var PriceCalculation: Interface "Price Calculation")new in 18
GetVATAmountLineOfMaxAmt(var VATAmountLine: Record "VAT Amount Line"; PurchaseLine: Record "Purchase Line"): Booleannew in 18
UpdateDeferralAmounts()new in 18
UpdateBaseAmounts(NewAmount: Decimal; NewAmountIncludingVAT: Decimal; NewVATBaseAmount: Decimal)new in 18
UpdatePrepmtAmounts()new in 18
ShowBlanketOrderPurchaseLines(DocumentType: Enum "Purchase Document Type")new in 18
ShowBlanketOrderPostedReceiptLines()new in 18
ShowBlanketOrderPostedInvoiceLines()new in 18
ShowBlanketOrderPostedReturnReceiptLines()new in 18
ShowBlanketOrderPostedCreditMemoLines()new in 18
AddItem(var PurchLine: Record "Purchase Line"; ItemNo: Code[20])new in 18
MaxQtyToReceiveBase(QtyToReceiveBase: Decimal): Decimalnew in 18
GetPurchHeader(var OutPurchHeader: Record "Purchase Header"; var OutCurrency: Record Currency)new in 19
FindOrCreateRecordByNo(SourceNo: Code[20]): Code[20]new in 19
GetDefaultLineType(): Enum "Purchase Line Type"new in 19
protected GetOverheadRateFCY(): Decimalnew in 19
GetItem(): Record Itemnew in 20
InitNewLine(var NewPurchLine: Record "Purchase Line")new in 20
CreateDim(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])new in 20
SwitchLinesWithErrorsFilter(var ShowAllLinesEnabled: Boolean)new in 20
GetJnlTemplateName(): Code[10]new in 20
GetResource(): Record Resourcenew in 20
CreateDimFromDefaultDim(FieldNo: Integer)new in 20
SaveLookupSelection(SelectedRecordRef: RecordRef)new in 20changed in 23
RestoreLookupSelection()new in 20changed in 23
SetSkipTaxCalulation(Skip: Boolean)new in 20
DeleteChargeChargeAssgnt(DocType: Enum "Purchase Document Type"; DocNo: Code[20]; DocLineNo: Integer)new in 21changed in 22
GetAbsMin(QtyToHandle: Decimal; QtyHandled: Decimal): Decimalnew in 21
GetSkipTaxCalculation(): Booleannew in 21
IsServiceCharge(): Booleannew in 21
IsExtendedText(): Booleannew in 22changed in 23
AttachToInventoryItemLine(var SelectedPurchLine: Record "Purchase Line")new in 22changed in 25
CheckWarehouse(ShowDialogMessage: Boolean)new in 23
IsReceivedFromOcr(): Booleannew in 23
GetTableValuePair(FieldNo: Integer): Dictionarynew in 23
GetDateForCalculations(): Datenew in 23
CheckIfPurchaseLineMeetsReservedFromStockSetting(QtyToPost: Decimal; ReservedFromStock: Enum "Reservation From Stock"): Booleannew in 23
GetDateForCalculations(FromPurchaseHeader: Record "Purchase Header"): Datenew in 23
UpdateSalesCost()new in 24
AddItems(SelectionFilter: Text)new in 24
InitHeaderDefaults(PurchHeader: Record "Purchase Header"; var TempPurchLine: Record "Purchase Line" temporary)new in 24
internal GetVatBaseDiscountPct(PurchaseHeader: Record "Purchase Header"): Decimalnew in 24
ShowOrderTracking()new in 25
CheckAssociatedSalesOrder()new in 25
IsSubcontractingCreditMemo(): Booleannew in 26
CalcBaseQty(Qty: Decimal; FromFieldName: Text; ToFieldName: Text): Decimalnew in 26
IsProdOrder(): Booleannew in 26
internal ClearVATPct()new in 26
internal ClearPrepaymentVATPct()new in 26
internal ClearVATDifference()new in 26
GetVATPct(): Decimalnew in 26changed in 28
internal GetPrepaymentVATPct(): Decimalnew in 26
internal CopyFromVATPostingSetup(var VATPostingSetupFrom: Record "VAT Posting Setup")new in 26
internal CopyPrepaymentFromVATPostingSetup(var VATPostingSetupFrom: Record "VAT Posting Setup")new in 26
internal TestPurchaseJobFields()new in 26
RecalculateAmounts(DocumentType: Enum "Purchase Document Type"; DocumentNo: Code[20]; ExcludeLineNo: Integer)new in 26
CheckLineAmount(MaxLineAmount: Decimal)new in 27
CheckLineTypeOnIndirectCostPercentUpdate()new in 27
IsWorkCenter(): Booleannew in 27
TestProdOrderNo()new in 27
TestWorkCenterNo()new in 27
SetSkipEnsurePositiveLineNo(NewSkipEnsurePositiveLineNo: Boolean)new in 27
Pending, tag 28.0, obsolete since 27.5: Not used for anything
GetFAPostingGroup()new in 28
internal IsMatchedToReceiptOrOrder(): Booleannew in 28
internal IsMatchedToOrder(): Booleannew in 28
internal IsMatchedToInvoiceCreditMemo(): Booleannew in 28
TransferExtendedTexts(var PurchaseLine: Record "Purchase Line"; var LastPurchaseLine: Record "Purchase Line")new in 28
SetSuppressPurchaseHeaderExistsVerification(NewSuppressPurchaseHeaderExistsVerification: Boolean)new in 28
SetHideValidationDialog(NewHideValidationDialog: Boolean)new in 29
GetHideValidationDialog(): Booleannew in 29
FormatTypeAsText(): Text[30]new in 29