Skip to content

Codeunit WSB_STMServiceStatus

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

Properties

Name Value
Access Public

Methods

wgFncGetServiceDocumentTypeFromDocumentType

Get the service 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 Service Document Type The corresponding service 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 "Service Document Type" pServiceDocumentType Type of Service Document
Code[10] pStatusCode Status code
Enum "WSB_STMStatusAction" pStatusAction Status Action type

Returns

Type Description
Boolean Status action is enabled.