Skip to content

Codeunit WSB_STMVendorStatusPublic

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

Properties

Name Value
Access Public

Methods

wgFncTestForPurchaseReleaseDocument

Check if a purchase document can be released based on the buy-from and pay-to vendor status, and throw an error if that is not the case.

Parameters

Type Name Description
Record "Purchase Header" pRecPurchaseHeader The purchase header.

wgFncTestForPurchInsert

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

Parameters

Type Name Description
Record "Vendor" pRecVendor The vendor.