Skip to content

Codeunit WSB_STMPurchaseStatusPublic

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

Properties

Name Value
Access Public

Methods

wgEvpOnBeforeTestForEdit

An event publisher that allows to extend or override the checks that are being performed (via procedure wlFncTestForEdit) when a user tries to edit the record, based on its current status.

Parameters

Type Name Description
Record "Purchase Header" pRecPurchaseHeader The Purchase Header record
Boolean vIsHandled Set this to true if your extension handles/overrides the checks that should be performed