Skip to content

Codeunit WSB_STMItemStatusPublic

Exposes procedures to manage and perform tests specifically related to the statuses of items.

Properties

Name Value
Access Public

Methods

wgFncTestForPurchInsert

Check if the item can be used in purchase documents/entities, and throw an error if that is not the case.

Parameters

Type Name Description
Record "Item" pRecItem The item.

wgFncTestForSalesInsert

Check if the item can be used in sales documents/entities, and throw an error if that is not the case.

Parameters

Type Name Description
Record "Item" pRecItem The item.

wgFncTestForServiceInsert

Check if the item can be used in service documents/entities, and throw an error if that is not the case.

Parameters

Type Name Description
Record "Item" pRecItem The item.