When you receive items back from the customer, you post the quantity received and the quantity you choose to credit the customer. Posting issues a related sales credit memo and return-related documents.
When you receive items back from the customer, you post the quantity received and the quantity you choose to credit the customer. Posting issues a related sales credit memo and return-related documents.
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(True,False)]
local procedure OnPostDocumentBeforeNavigateAfterPosting(var SalesHeader: Record "Sales Header", var PostingCodeunitID: Integer, DocumentIsPosted: Boolean, var IsHandled: Boolean)
[IntegrationEvent(True,False)]
local procedure OnBeforeOnQueryClosePage(var SalesHeader: Record "Sales Header", CloseAction: Action, var Result: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnPostDocumentOnAfterCalcDocumentIsScheduledForPosting(var SalesHeader: Record "Sales Header", var DocumentIsScheduledForPosting: Boolean, var DocumentIsPosted: Boolean)