Skip to content

Codeunit WSB_STMSalesStatus

Implements the Sales Doc. Applies-to Type (implementation of interface WSB_ISTMStatusAppliesTo).

Properties

Name Value
Access Public

Methods

wgFncGetSalesDocumentTypeFromDocumentType

Get the sales document type from the status management document type.

Parameters

Type Name Description
Enum "WSB_STMDocumentType" pDocumentType The WSB_STMDocumentType / status management document type.

Returns

Type Description
Enum Sales Document Type The corresponding sales document type.

wgFncIsStatusActionEnabled

Obsolete

Use WSB_STMStatusMgt.wgFncIsStatusActionEnabled instead 1.34.0.0

Check if status actions are enabled.

Parameters

Type Name Description
Variant pRecRelatedVariant The record we are dealing with.
Enum "Sales Document Type" pSalesDocumentType Type of Sales Document
Code[10] pStatusCode Status code
Enum "WSB_STMStatusAction" pStatusAction Status Action type

Returns

Type Description
Boolean Status action is enabled.

Enum WSB_STMServiceSetDocStatus

Defines the Service Status.

Properties

Name Value
Access Public
AssignmentCompatibility 1
Extensible True