Choose the order details and fill in order lines with quantities of what you are selling. Post the order when you are ready to ship or invoice. This creates posted sales shipments and posted sales invoices.
Choose the order details and fill in order lines with quantities of what you are selling. Post the order when you are ready to ship or invoice. This creates posted sales shipments and posted sales invoices.
Methods
RunBackgroundCheck
procedure RunBackgroundCheck()
UpdateShipToBillToGroupVisibility
procedure UpdateShipToBillToGroupVisibility()
SetPostingGroupEditable
procedure SetPostingGroupEditable()
CheckNotificationsOnce
procedure CheckNotificationsOnce()
Events
OnBeforeStatisticsAction
Obsolete
This element will become obsolete from version 26.0. 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.
[Obsolete(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.,26.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeStatisticsAction(var SalesHeader: Record "Sales Header", var Handled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforePostSalesOrder(var SalesHeader: Record "Sales Header", PostingCodeunitID: Integer, Navigate: Enum "Navigate After Posting")
[IntegrationEvent(False,False)]
local procedure OnBeforeShowReleaseNotification(var SalesHeader: Record "Sales Header", var Result: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateShipToOptions(var SalesHeader: Record "Sales Header", ShipToOptions: Option, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnPostOnAfterSetDocumentIsPosted(SalesHeader: Record "Sales Header", var IsScheduledPosting: Boolean, var DocumentIsPosted: Boolean)
[IntegrationEvent(True,False)]
local procedure OnAfterGetCurrRecordOnBeforeCheckItemAvailabilityInLines(var SalesHeader: Record "Sales Header", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnValidateShipToOptionsOnAfterShipToAddressListGetRecord(var ShipToAddress: Record "Ship-to Address", var SalesHeader: Record "Sales Header")
[IntegrationEvent(True,False)]
local procedure OnPostDocumentBeforeNavigateAfterPosting(var SalesHeader: Record "Sales Header", var PostingCodeunitID: Integer, var Navigate: Enum "Navigate After Posting", DocumentIsPosted: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeQueryClosePage(var DocumentIsScheduledForPosting: Boolean, var SalesHeader: Record "Sales Header", CloseAction: Action, ShowReleaseNotification: Boolean, DocumentIsPosted: Boolean, var Result: Boolean, var IsHandled: Boolean)