Table 37 Sales Line

Base Application, Microsoft.Sales.Document

233 procedures

ProcedureVersions
InitOutstanding()17-29
InitOutstandingAmount()17-29
InitQtyToShip()17-29
InitQtyToReceive()17-29
InitQtyToInvoice()17-29
MaxQtyToInvoice(): Decimal17-29
MaxQtyToInvoiceBase(): Decimal17-29
CalcLineAmount(): Decimal17-29
CopyFromSalesLine(FromSalesLine: Record "Sales Line")17-29
CopyFromSalesShptLine(FromSalesShptLine: Record "Sales Shipment Line")17-29
CopyFromSalesInvLine(FromSalesInvLine: Record "Sales Invoice Line")17-29
CopyFromReturnRcptLine(FromReturnRcptLine: Record "Return Receipt Line")17-29
CopyFromSalesCrMemoLine(FromSalesCrMemoLine: Record "Sales Cr.Memo Line")17-29
SetSalesHeader(NewSalesHeader: Record "Sales Header")17-29
GetSalesHeader(): Record "Sales Header"17-29changed in 20
GetSalesHeader(var OutSalesHeader: Record "Sales Header"; var OutCurrency: Record Currency)17-29
GetItem(var Item: Record Item)17-29
GetResource(): Record Resource17-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
UpdateUnitPrice(CalledByFieldNo: Integer)17-29
GetLineWithPrice(var LineWithPrice: Interface "Line With Price")17-29
ApplyDiscount(var PriceCalculation: Interface "Price Calculation")17-29
ApplyPrice(CalledByFieldNo: Integer; var PriceCalculation: Interface "Price Calculation")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
FindResUnitCost()17-29
FindResUnitCostOnAfterInitResCost(var ResourceCost: Record "Resource Cost")17-29
AfterFindResUnitCost(var ResourceCost: Record "Resource Cost")17-29
UpdatePrepmtSetupFields()17-29
UpdateAmounts()17-29
UpdateVATAmounts()17-29
CheckItemAvailable(CalledByFieldNo: Integer)17-29
ShowReservation()17-29
ShowReservationEntries(Modal: Boolean)17-29
AutoReserve()17-29
AutoAsmToOrder()17-29
GetDate(): Date17-29
CalcPlannedDeliveryDate(CurrFieldNo: Integer): Date17-29
CalcPlannedShptDate(CurrFieldNo: Integer): Date17-29
CalcShipmentDate(): Date17-29
SignedXX(Value: Decimal): Decimal17-29
ShowDimensions(): Boolean17-29
OpenItemTrackingLines()17-29
CreateDim(Type1: Integer; No1: Code[20]; Type2: Integer; No2: Code[20]; Type3: Integer; No3: Code[20])gone after 22
Pending, tag 20.0, obsolete since 20: Replaced by CreateDim(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])
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
SelectMultipleItems()17-29
ShowItemSub()17-29
ShowNonstock()17-29
GetCaptionClass(FieldNumber: Integer): Text[80]17-29
GetUnitCost()17-29
ShowItemChargeAssgnt()17-29
UpdateItemChargeAssgnt()17-29
DeleteItemChargeAssignment(DocType: Enum "Sales Document Type"; DocNo: Code[20]; DocLineNo: Integer)17-29
TestStatusOpen()17-29
GetSuspendedStatusCheck(): Boolean17-29
SuspendStatusCheck(Suspend: Boolean)17-29
UpdateVATOnLines(QtyType: Option General,Invoicing,Shipping; var SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"; var VATAmountLine: Record "VAT Amount Line"): Boolean17-29
CalcVATAmountLines(QtyType: Option General,Invoicing,Shipping; var SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"; var VATAmountLine: Record "VAT Amount Line")17-29
CalcVATAmountLines(QtyType: Option General,Invoicing,Shipping; var SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"; var VATAmountLine: Record "VAT Amount Line"; IncludePrepayments: Boolean)17-29
GetCPGInvRoundAcc(var SalesHeader: Record "Sales Header"): Code[20]17-29
CalcInvDiscToInvoice()17-29
UpdateWithWarehouseShip()17-29
UpdateDates()17-29
GetItemTranslation()17-29
PriceExists(): Boolean17-29
LineDiscExists(): Boolean17-29
RowID1(): Text[250]17-29
GetATOBin(Location: Record Location; var BinCode: Code[20]): Boolean17-29
IsInbound(): Boolean17-29
CheckAssocPurchOrder(TheFieldCaption: Text[250])17-29
CrossReferenceNoLookUp()gone after 19
Pending, tag 18.0, obsolete since 18: Replaced by same procedure in Item Reference Management codeunit.
CheckServItemCreation()17-29
ItemExists(ItemNo: Code[20]): Boolean17-29
IsShipment(): Boolean17-29
SetHideValidationDialog(NewHideValidationDialog: Boolean)17-29
GetHideValidationDialog(): Boolean17-29
CalcPrepaymentToDeduct()17-29
IsFinalInvoice(): Boolean17-29
GetLineAmountToHandle(QtyToHandle: Decimal): Decimal17-29
GetLineAmountToHandleInclPrepmt(QtyToHandle: Decimal): Decimal17-29
GetLineAmountExclVAT(): Decimal17-29
GetLineAmountInclVAT(): Decimal17-29
SetHasBeenShown()17-29
BlockDynamicTracking(SetBlock: Boolean)17-29
InitQtyToShip2()17-29
ShowLineComments()17-29
SetDefaultQuantity()17-29
UpdatePrePaymentAmounts()17-29
ZeroAmountLine(QtyType: Option General,Invoicing,Shipping): Boolean17-29
FilterLinesWithItemToPlan(var Item: Record Item; DocumentType: Enum "Sales Document Type")17-29
FindLinesWithItemToPlan(var Item: Record Item; DocumentType: Enum "Sales Document Type"): Boolean17-29
LinesWithItemToPlanExist(var Item: Record Item; DocumentType: Enum "Sales Document Type"): Boolean17-29
FilterLinesForReservation(ReservationEntry: Record "Reservation Entry"; DocumentType: Enum "Sales Document Type"; AvailabilityFilter: Text; Positive: Boolean)17-29
AsmToOrderExists(var AsmHeader: Record "Assembly Header"): Boolean17-29
FullQtyIsForAsmToOrder(): Boolean17-29
QtyBaseOnATO(): Decimal17-29
QtyAsmRemainingBaseOnATO(): Decimal17-29
QtyToAsmBaseOnATO(): Decimal17-29
IsAsmToOrderAllowed(): Boolean17-29
IsAsmToOrderRequired(): Boolean17-29
CheckAsmToOrder(AsmHeader: Record "Assembly Header")17-29
ShowAsmToOrderLines()17-29
FindOpenATOEntry(LotNo: Code[50]; SerialNo: Code[50]): Integergone after 24
Pending, tag 17.0, obsolete since 17: Replaced by FindOpenATOEntry() with parameter ItemTrackingSetup.
FindOpenATOEntry(ItemTrackingSetup: Record "Item Tracking Setup"): Integer17-29
RollUpAsmCost()17-29
RollupAsmPrice()17-29
UpdateICPartner()17-29
OutstandingInvoiceAmountFromShipment(SellToCustomerNo: Code[20]): Decimal17-29
IsShippedReceivedItemDimChanged(): Boolean17-29
IsServiceChargeLine(): Boolean17-29
ConfirmShippedReceivedItemDimChange(): Boolean17-29
InitType()17-29
CheckLocationOnWMS()17-29
IsNonInventoriableItem(): Boolean17-29
IsInventoriableItem(): Boolean17-29
ValidateReturnReasonCode(CallingFieldNo: Integer)17-29
ValidateLineDiscountPercent(DropInvoiceDiscountAmount: Boolean)17-29
HasTypeToFillMandatoryFields(): Boolean17-29
GetDeferralAmount(): Decimal17-29
UpdateDeferralAmounts()17-29
UpdatePriceDescription()17-29
ShowDeferrals(PostingDate: Date; CurrencyCode: Code[10]): Boolean17-29
DefaultDeferralCode()17-29
IsCreditDocType(): Boolean17-29
CanEditUnitOfMeasureCode(): Boolean17-29
InsertFreightLine(var FreightAmount: Decimal)17-29
IsLookupRequested(): Boolean17-29
TestItemFields(ItemNo: Code[20]; VariantCode: Code[10]; LocationCode: Code[10])17-29
CalculateNotShippedInvExlcVatLCY()17-29
ClearSalesHeader()17-29
SendLineInvoiceDiscountResetNotification()17-29
GetDocumentTypeDescription(): Text17-29
FormatType(): Text[20]17-29
Pending, tag 29.0, obsolete since 29: Use FormatTypeAsText() instead.
RenameNo(LineType: Enum "Sales Line Type"; OldNo: Code[20]; NewNo: Code[20])17-29
UpdatePlanned(): Boolean17-29
AssignedItemCharge(): Boolean17-29
CalcPlannedDate(): Date17-29
ShowDeferralSchedule()17-29
MaxQtyToShipBase(QtyToShipBase: Decimal): Decimalnew in 18
CalcShipmentDateForLocation()new in 18
GetPriceCalculationHandler(PriceType: Enum "Price Type"; SalesHeader: Record "Sales Header"; var PriceCalculation: Interface "Price Calculation")new in 18
AddItem(var SalesLine: Record "Sales Line"; ItemNo: Code[20])new in 18
InitNewLine(var NewSalesLine: Record "Sales Line")new in 18
GetSKU(): Booleannew in 18
ValidateUnitCostLCYOnGetUnitCost(Item: Record Item)new in 18
ShowBlanketOrderSalesLines(DocumentType: Enum "Sales Document Type")new in 18
ShowBlanketOrderPostedShipmentLines()new in 18
ShowBlanketOrderPostedInvoiceLines()new in 18
ShowBlanketOrderPostedReturnReceiptLines()new in 18
ShowBlanketOrderPostedCreditMemoLines()new in 18
protected UpdatePrepmtAmounts()new in 19
GetSKU(var StockkeepingUnit: Record "Stockkeeping Unit"): Booleannew in 19
GetDefaultBin()new in 19
FindOrCreateRecordByNo(SourceNo: Code[20]): Code[20]new in 19
protected SetReserveWithoutPurchasingCode()new in 19
InitQtyToAsm()new in 19changed in 25
GetDefaultLineType(): Enum "Sales Line Type"new in 19
CanCalculateTax(): Boolean20 to 24
Pending, tag 22.0, obsolete since 21: Renaming the global procedure to GetSkipTaxCalculation():Boolean
SetSkipTaxCalulation(Skip: Boolean)new in 20
GetItem(): Record Itemnew 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
protected VerifyChangeForSalesLineReserve(CallingFieldNo: Integer)new in 20
CreateDimFromDefaultDim(FieldNo: Integer)new in 20
SaveLookupSelection(SelectedRecordRef: RecordRef)new in 20changed in 23
RestoreLookupSelection()new in 20changed in 23
GetSkipTaxCalculation(): Booleannew in 21
protected DeleteChargeChargeAssgnt(DocType: Enum "Sales Document Type"; DocNo: Code[20]; DocLineNo: Integer)new in 21
GetVATAmountLineOfMaxAmt(var VATAmountLine: Record "VAT Amount Line"; SalesLine: Record "Sales Line"): Booleannew in 21
internal GetVatBaseDiscountPct(SalesHeader: Record "Sales Header"): Decimalnew in 21
GetAbsMin(QtyToHandle: Decimal; QtyHandled: Decimal): Decimalnew in 21
InitHeaderDefaults(SalesHeader: Record "Sales Header")new in 21
CalcBaseQty(Qty: Decimal; FromFieldName: Text; ToFieldName: Text): Decimalnew in 21
UpdateUnitPriceByField(CalledByFieldNo: Integer)new in 22
CheckWarehouseForQtyToShip()new in 22
TestJobPlanningLine()new in 22
IsExtendedText(): Booleannew in 22changed in 23
AttachToInventoryItemLine(var SelectedSalesLine: Record "Sales Line")new in 22changed in 23
ProcessSalesLine(var SalesLine: Record "Sales Line")new in 23
CheckWarehouse(ShowDialogMessage: Boolean)new in 23
VerifyItemLineDim()new in 23
CheckPromisedDeliveryDate()new in 23
InitDefaultDimensionSources(var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; FieldNo: Integer)new in 23
GetDateForCalculations(): Datenew in 23
GetDateForCalculations(FromSalesHeader: Record "Sales Header"): Datenew in 23
CheckIfSalesLineMeetsReservedFromStockSetting(QtyToPost: Decimal; ReservedFromStock: Enum "Reservation From Stock"): Booleannew in 23
AddItems(SelectionFilter: Text)new in 24
GetFAPostingGroup()new in 24
InitDefaultDimensionSources(var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; JobNo: Code[20]; FieldNo: Integer)new in 24
CalculateOutstandingAmountExclTax(): Decimalnew in 25
CheckPrepmtAmounts()new in 25
ThrowWrongAmountError()new in 25
ShowOrderTracking()new in 25
SetReserveToOptional()new in 25
CheckShipmentDateBeforeWorkDate()new in 25
UpdateBaseAmounts(NewAmount: Decimal; NewAmountIncludingVAT: Decimal; NewVATBaseAmount: Decimal)new in 25
GetShippingTime()new in 25
internal BlanketOrderIsRelated(var BlanketOrderSalesLine: Record "Sales Line"): Booleannew in 26
CopyUnitPriceAndLineDiscountPct(BlanketOrderSalesLine: Record "Sales Line"; CalledByFieldNo: Integer)new in 26
ShowUnitPriceChangedMsg()new in 26
AutoReserve(ShowReservationForm: Boolean)new in 26
CalcUnitPriceUsingUOMCoef()new 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
SetSkipEnsurePositiveLineNo(NewSkipEnsurePositiveLineNo: Boolean)new in 27
Pending, tag 28.0, obsolete since 27: Not used anymore
ExcludeDefaultItemQuantity(DefaultItemQuantity: Boolean)new in 27
SendBlockedItemNotification()new in 27
SetSuppressSalesHeaderExistsVerification(NewSuppressSalesHeaderExistsVerification: Boolean)new in 28
CheckCustomerBaseCalendarCodeExist(): Booleannew in 28
RestoreLookupSelectionWithResult(): Booleannew in 28
ReserveFromInventory(var SalesLine: Record "Sales Line")new in 28
FormatTypeAsText(): Text[30]new in 29