Table 36 Sales Header

Base Application, Microsoft.Sales.Document

162 procedures

ProcedureVersions
InitInsert()17-29
InitRecord()17-29
AssistEdit(OldSalesHeader: Record "Sales Header"): Boolean17-29
TestNoSeries()17-29
GetNoSeriesCode(): Code[20]17-29
ConfirmDeletion(): Boolean17-29
GetCust(CustNo: Code[20]): Record Customer17-29changed in 19
SalesLinesExist(): Boolean17-29
RecreateSalesLines(ChangedFieldName: Text[100])17-29
MessageIfSalesLinesExist(ChangedFieldName: Text[100])17-29
PriceMessageIfSalesLinesExist(ChangedFieldName: Text[100])17-29
UpdateCurrencyFactor()17-29
ConfirmCurrencyFactorUpdate()17-29
SetHideValidationDialog(NewHideValidationDialog: Boolean)17-29
GetHideValidationDialog(): Boolean17-29
UpdateLocationCode(LocationCode: Code[10])17-29
UpdateSalesLines(ChangedFieldName: Text[100]; AskQuestion: Boolean)17-29
UpdateSalesLinesByFieldNo(ChangedFieldNo: Integer; AskQuestion: Boolean)17-29
ValidateShortcutDimCode(FieldNumber: Integer; var ShortcutDimCode: Code[20])17-29
ShippedSalesLinesExist(): Boolean17-29
ReturnReceiptExist(): Boolean17-29
CheckCustomerCreated(Prompt: Boolean): Boolean17-29
UpdateBillToCont(CustomerNo: Code[20])17-29
GetShippingTime(CalledByFieldNo: Integer)17-29
GetSellToCustomerFaxNo(): Text17-29
CheckCreditMaxBeforeInsert()17-29
CreateInvtPutAwayPick()17-29
CreateTask()17-29
UpdateShipToAddress()17-29
ShowDocDim()17-29
UpdateAllLineDim(NewParentDimSetID: Integer; OldParentDimSetID: Integer)17-29
LookupAdjmtValueEntries(QtyType: Option General,Invoicing)17-29
GetCustomerVATRegistrationNumber(): Text17-29
GetCustomerVATRegistrationNumberLbl(): Text17-29
GetStatusStyleText(): Text17-29
GetPstdDocLinesToReverse()17-29
CalcInvDiscForHeader()17-29
SetSecurityFilterOnRespCenter()17-29
InventoryPickConflict(DocType: Enum "Sales Document Type"; DocNo: Code[20]; ShippingAdvice: Enum "Sales Header Shipping Advice"): Boolean17-29
WhseShipmentConflict(DocType: Enum "Sales Document Type"; DocNo: Code[20]; ShippingAdvice: Enum "Sales Header Shipping Advice"): Boolean17-29
CheckItemAvailabilityInLines()17-29
QtyToShipIsZero(): Boolean17-29
IsApprovedForPosting(): Boolean17-29
IsApprovedForPostingBatch(): Boolean17-29
GetLegalStatement(): Text17-29
SendToPosting(PostingCodeunitID: Integer): Boolean17-29
CancelBackgroundPosting()17-29
EmailRecords(ShowDialog: Boolean)17-29
GetDocTypeTxt(): Text[50]17-29
GetFullDocTypeTxt(): Text17-29
LinkSalesDocWithOpportunity(OldOpportunityNo: Code[20])17-29
SynchronizeAsmHeader()17-29
CheckShippingAdvice()17-29
InvoicedLineExists(): Boolean17-29
CreateDimSetForPrepmtAccDefaultDim()17-29
CheckAvailableCreditLimit(): Decimal17-29
SetStatus(NewStatus: Option)17-29
CheckSalesPostRestrictions()17-29
CustomerCreditLimitExceeded()17-29
CustomerCreditLimitExceeded(NotificationId: Guid)17-29
CustomerCreditLimitNotExceeded()17-29
CheckSalesReleaseRestrictions()17-29
DeferralHeadersExist(): Boolean17-29
SetSellToCustomerFromFilter()17-29
CopySellToCustomerFilter()17-29
GetSelectedPaymentServicesText(): Text17-29
SetDefaultPaymentServices()17-29
ChangePaymentServiceSetting()17-29
IsCreditDocType(): Boolean17-29
HasSellToAddress(): Boolean17-29
HasShipToAddress(): Boolean17-29
HasBillToAddress(): Boolean17-29
SetShipToCustomerAddressFieldsFromShipToAddr(ShipToAddr: Record "Ship-to Address")17-29
SetBillToCustomerAddressFieldsFromCustomer(var BillToCustomer: Record Customer)17-29
SetShipToAddress(ShipToName: Text[100]; ShipToName2: Text[50]; ShipToAddress: Text[100]; ShipToAddress2: Text[50]; ShipToCity: Text[30]; ShipToPostCode: Code[20]; ShipToCounty: Text[30]; ShipToCountryRegionCode: Code[10])17-29
ShipToAddressEqualsSellToAddress(): Boolean17-29
BillToAddressEqualsSellToAddress(): Boolean17-29
CopySellToAddressToShipToAddress()17-29
CopySellToAddressToBillToAddress()17-29
ConfirmCloseUnposted(): Boolean17-29
InitFromSalesHeader(SourceSalesHeader: Record "Sales Header")17-29
SetWorkDescription(NewWorkDescription: Text)17-29
GetWorkDescription(): Text17-29
SetAllowSelectNoSeries()17-29
SelltoCustomerNoOnAfterValidate(var SalesHeader: Record "Sales Header"; var xSalesHeader: Record "Sales Header")17-29
RecallModifyAddressNotification(NotificationID: Guid)17-29
GetModifyCustomerAddressNotificationId(): Guid17-29
GetModifyBillToCustomerAddressNotificationId(): Guid17-29
GetLineInvoiceDiscountResetNotificationId(): Guid17-29
SetModifyCustomerAddressNotificationDefaultState()17-29
SetModifyBillToCustomerAddressNotificationDefaultState()17-29
DontNotifyCurrentUserAgain(NotificationID: Guid)17-29
HasDifferentSellToAddress(Customer: Record Customer): Boolean17-29
HasDifferentBillToAddress(Customer: Record Customer): Boolean17-29
HasDifferentShipToAddress(Customer: Record Customer): Boolean17-29
ShowInteractionLogEntries()17-29
GetBillToNo(): Code[20]17-29
GetCurrencySymbol(): Text[10]17-29
ValidateSalesPersonOnSalesHeader(SalesHeader2: Record "Sales Header"; IsTransaction: Boolean; IsPostAction: Boolean)17-29
ShouldSearchForCustomerByName(CustomerNo: Code[20]): Boolean17-29
TestQuantityShippedField(SalesLine: Record "Sales Line")17-29
TestStatusIsNotPendingApproval(): Boolean17-29
TestStatusIsNotPendingPrepayment(): Boolean17-29
TestStatusIsNotReleased(): Boolean17-29
TestStatusOpen()17-29
SuspendStatusCheck(Suspend: Boolean)17-29
CheckForBlockedLines()17-29
CopyDocument()17-29
GetStatusCheckSuspended(): Boolean17-29
CopyShipToCustomerAddressFieldsFromCust(var SellToCustomer: Record Customer)17-29
SetCalledFromWhseDoc(NewCalledFromWhseDoc: Boolean)17-29
ConfirmReservationDateConflict()new in 18
DeleteAllSalesLines()new in 18
SelectSalesHeaderNewCustomerTemplate(): Code[20]new in 18
LookupSellToCustomerName(var CustomerName: Text): Booleannew in 18
PrepareOpeningDocumentStatistics()new in 18
UpdateSellToCust(ContactNo: Code[20])new in 19
SetSalespersonCode(SalesPersonCodeToCheck: Code[20]; var SalesPersonCodeToAssign: Code[20])new in 19
GetUseDate(): Datenew in 19
SelltoContactLookup(): Booleannew in 19
SetStandardCodesMgt(var StandardCodesMgtNew: Codeunit "Standard Codes Mgt.")new in 19
CreateDim(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])new in 20
LookupContact(CustomerNo: Code[20]; ContactNo: Code[20]; var Contact: Record Contact)new in 20
GetUserSetupSalespersonCode(): Code[20]new in 20
PerformManualRelease(var SalesHeader: Record "Sales Header")new in 20changed in 23
PerformManualReopen(var SalesHeader: Record "Sales Header")new in 20changed in 23
GetWarnWhenZeroQuantitySalesLinePosting(): Guidnew in 20
CreateDimFromDefaultDim(FieldNo: Integer)new in 20
SetWarnZeroQuantitySalesPosting()new in 20
TestNoSeriesDate(No: Code[20]; NoSeriesCode: Code[20]; NoCapt: Text[1024]; NoSeriesCapt: Text[1024])new in 20
CanCalculateTax(): Booleannew in 20
SetSkipTaxCalulation(Skip: Boolean)new in 20
GetCalledFromWhseDoc(): Booleannew in 20
InitPostingDescription()new in 21
SetHideCreditCheckDialogue(NewHideCreditCheckDialogue: Boolean)new in 21
GetHideCreditCheckDialogue(): Booleannew in 21
UpdateSellToCont(CustomerNo: Code[20])new in 21
GetSellToCustomerFromFilter(): Code[20]new in 21
SalesLinesEditable(): Booleannew in 21
BatchConfirmUpdateDeferralDate(var BatchConfirm: Option " ",Skip,Update; ReplacePostingDate: Boolean; PostingDateReq: Date; ReplaceVATDate: Boolean; VATDateReq: Date)new in 21
StoreSalesCommentLineToTemp(var TempSalesCommentLine: Record "Sales Comment Line" temporary)new in 22
RestoreSalesCommentLine(var TempSalesCommentLine: Record "Sales Comment Line" temporary; OldDocumnetLineNo: Integer; NewDocumentLineNo: Integer)new in 22
SynchronizeForReservations(var NewSalesLine: Record "Sales Line"; OldSalesLine: Record "Sales Line")new in 22
TransferItemChargeAssgntSalesToTemp(var ItemChargeAssgntSales: Record "Item Charge Assignment (Sales)"; var TempItemChargeAssgntSales: Record "Item Charge Assignment (Sales)" temporary)new in 22
HasItemChargeAssignment(): Booleannew in 22
SetDefaultSalesperson()new in 22
PerformManualRelease()new in 22changed in 23
protected GetContactAsCompany(Contact: Record Contact; var SearchContact: Record Contact): Booleannew in 23
InitPostingNoSeries()new in 23
internal GetQtyReservedFromStockState(): Enum "Reservation From Stock"new in 23
UpdateSalesOrderLineIfExist()new in 23changed in 24, 26
RecreateReqLine(var TempReqLine: Record "Requisition Line" temporary; OldSalesLine: Record "Sales Line"; NewSourceRefNo: Integer; ToTemp: Boolean)new in 25
SetShowExternalDocAlreadyExistNotificationDefaultState(DefaultState: Boolean)new in 25
GetShowExternalDocAlreadyExistNotificationId(): Guidnew in 25
BatchConfirmUpdatePostingDate(ReplacePostingDate: Boolean; PostingDateReq: Date; ReplaceVATDate: Boolean; VATDateReq: Date; ReplaceDocDate: Boolean)new in 25
UpdateShipToSalespersonCode(FieldNo: Integer)new in 25
SendICSalesDoc(var SalesHeader: Record "Sales Header")new in 25
GetStatisticsPageID(): Integernew in 26
Pending, tag 27.0, obsolete since 26.3: The statistics action will be replaced with the SalesOrderStatistics action. The new action uses RunObject and does not run the action trigger. Use a page extension to modify the behaviour.
TestStatusOpen(ThrowErrorIfNot: Boolean): Booleannew in 26
SetBillToCustomerNo(var Cust: Record Customer)new in 26
TestPostingDate(BatchPost: Boolean)new in 27
internal CalculateReservableOutstandingQuantityBase(): Decimalnew in 27