Share via


Page "Sales Return Order"

ID 6630
Namespace: Microsoft.Sales.Document

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.

Properties

Name Value
Caption Sales Return Order
PageType Document
RefreshOnActivate True
SourceTable Table Microsoft.Sales.Document."Sales Header"
SourceTableView where("Document Type" = filter("Return Order"))
AboutTitle About sales return order details
AboutText 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.

Methods

CallPostDocument

procedure CallPostDocument(PostingCodeunitID: Integer)

Parameters

Name Type Description
PostingCodeunitID Integer

SetPostingGroupEditable

procedure SetPostingGroupEditable()

ShowPreview

procedure ShowPreview()

RunBackgroundCheck

procedure RunBackgroundCheck()

Events

OnAfterOnAfterGetRecord

[IntegrationEvent(True,False)]
local procedure OnAfterOnAfterGetRecord(var SalesHeader: Record "Sales Header")

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"

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)

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"
Handled Boolean

OnPostDocumentBeforeNavigateAfterPosting

[IntegrationEvent(True,False)]
local procedure OnPostDocumentBeforeNavigateAfterPosting(var SalesHeader: Record "Sales Header", var PostingCodeunitID: Integer, DocumentIsPosted: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"
PostingCodeunitID Integer
DocumentIsPosted Boolean
IsHandled Boolean

OnBeforeOnQueryClosePage

[IntegrationEvent(True,False)]
local procedure OnBeforeOnQueryClosePage(var SalesHeader: Record "Sales Header", CloseAction: Action, var Result: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"
CloseAction Action
Result Boolean
IsHandled Boolean

OnPostDocumentOnAfterCalcDocumentIsScheduledForPosting

[IntegrationEvent(False,False)]
local procedure OnPostDocumentOnAfterCalcDocumentIsScheduledForPosting(var SalesHeader: Record "Sales Header", var DocumentIsScheduledForPosting: Boolean, var DocumentIsPosted: Boolean)

Parameters

Name Type Description
SalesHeader Table Microsoft.Sales.Document."Sales Header"
DocumentIsScheduledForPosting Boolean
DocumentIsPosted Boolean

See also