Skip to content

Codeunit WSB_AvailIndicatorMgtAI

Provides functionality for Availability Indicator Management.

Properties

Name Value
Access Public

Methods

wgFncAssemblyLineGetAvailabilityIndicator

Gets the inventory availability indicator for an assembly line.

Parameters

Type Name Description
Record "Assembly Line" pRecAssemblyLine The assembly line record.

Returns

Type Description
Enum WSB_AvailabilityIndicatorAI The availability indicator (enum value).

wgFncProdOrderComponentGetAvailabilityIndicator

Gets the inventory availability indicator for a production order component.

Parameters

Type Name Description
Record "Prod. Order Component" pRecProdOrderComponent The production order component record.

Returns

Type Description
Enum WSB_AvailabilityIndicatorAI The availability indicator (enum value).

wgFncProdOrderLineGetAvailabilityIndicator

Gets the inventory availability indicator for a production order line.

Parameters

Type Name Description
Record "Prod. Order Line" pRecProdOrderLine The production order line record.

Returns

Type Description
Enum WSB_AvailabilityIndicatorAI The availability indicator (enum value).

wgFncSalesHeaderGetAvailabilityIndicator

Gets the inventory availability indicators for a sales header.

Parameters

Type Name Description
Record "Sales Header" pRecSalesHeader The sales header record.
Enum "WSB_AvailabilityIndicatorAI" vAvailabilityIndicatorGreen Gets the green indicator as exit value if these apply.
Enum "WSB_AvailabilityIndicatorAI" vAvailabilityIndicatorOrange Gets the orange indicator as exit value if these apply.
Enum "WSB_AvailabilityIndicatorAI" vAvailabilityIndicatorRed Gets the red indicator as exit value if these apply.
Enum "WSB_AvailabilityIndicatorAI" vAvailabilityIndicatorShipment Gets the shipment indicator as exit value if these apply.

wgFncSalesLineGetAvailabilityIndicator

Gets the inventory availability indicator for a sales line.

Parameters

Type Name Description
Record "Sales Line" pRecSalesLine The sales line record.

Returns

Type Description
Enum WSB_AvailabilityIndicatorAI The availability indicator (enum value).

wgFncServiceLineGetAvailabilityIndicator

Gets the inventory availability indicator for a service line.

Parameters

Type Name Description
Record "Service Line" pRecServiceLine The pRecServiceLine line record.

Returns

Type Description
Enum WSB_AvailabilityIndicatorAI The availability indicator (enum value).

wgFncTransferLineGetAvailabilityIndicator

Gets the inventory availability indicator for a transfer line.

Parameters

Type Name Description
Record "Transfer Line" pRecTransferLine The transfer line record.

Returns

Type Description
Enum WSB_AvailabilityIndicatorAI The availability indicator (enum value).