Skip to content

Report wDCR_SalesWorkOrder

Report for sales work order documents (based on sales order).

Properties

Name Value
Caption Sales - Work Order
DefaultRenderingLayout Document Creator - Sales Work Order
PreviewMode PrintLayout
UsageCategory None
WordMergeDataItem SalesHdr

Methods

wgFncInitializeRequest

Initializes the report with initial values before it is run.

Parameters

Type Name Description
Integer pNoOfCopies The number of copies to render.
Boolean pShowInternalInfo Whether to show internal information like dimensions and internal comments.
Boolean pPrint Whether to treat this render as intended for printing.
Boolean pDisplayAsmInfo Whether to show assembly line details.

Trl

Gets the translation for the specified label/tag.

Parameters

Type Name Description
Text[50] pLblName The label.

Returns

Type Description
Text The translation text for the label.

wlEvpOnAfterGetSalesLines

Allows to hook into the moment right after the sales lines are retrieved.

Parameters

Type Name Description
Record "Sales Header" pRecSalesHdr The Sales Header record.
Record "Sales Line" temporary vRecTempSalesLine The Sales Line records that were retrieved for the report in a temporary record set.