Skip to content

KVSCCWorkflow#

Procedures#

AddCategoryToLibrary() :#

Summary: Adds the compliance check category to the workflow library.

procedure AddCategoryToLibrary(): 

AddEventToLibrary() :#

Summary: Adds the event to the workflow library.

procedure AddEventToLibrary(): 

AddResponseToLibrary() :#

Summary: Adds the response to the workflow library.

procedure AddResponseToLibrary(): 

WorkflowEventNameCode() : Code[128]#

Summary: Gets the workflow event name code for the compliance check entity added event.

procedure WorkflowEventNameCode(): Code[128]

Returns: The code of the workflow event.

Remarks: This function returns the uppercase version of the predefined token for the compliance check entity added event.

WorkflowResponseNameBlockCustomerVendorCode() : Code[128]#

Summary: Gets the workflow response name code for the block customer/vendor response.

procedure WorkflowResponseNameBlockCustomerVendorCode(): Code[128]

Returns: The code of the workflow response.

Remarks: This function returns the uppercase version of the predefined token for the block customer/vendor response.

BlockCustomerVendor(Variant, Record Workflow Step Instance) :#

Summary: Blocks the customer or vendor associated with the given compliance check entity.

procedure BlockCustomerVendor(SourceRec: Variant; WorkflowStepInstance: Record "Workflow Step Instance"): 

Parameters:

  • SourceRec: The variant containing the compliance check entity record.
  • WorkflowStepInstance: The workflow step instance record.

Remarks: This procedure retrieves the compliance check entity from the variant parameter, checks the source table to determine if it is a customer or vendor, and then blocks the respective record.