
using KBX.Shared.Workflow;
namespace KBX.Modules.ERP.Purchases.Workflow;
public static class PurchaseWorkflow
{
 public static readonly WorkflowTransition[] Transitions=[
   new("confirm",new HashSet<string>{"DRAFT"},"CONFIRMED","erp.purchase.confirm"),
   new("cancel",new HashSet<string>{"DRAFT","CONFIRMED"},"CANCELLED","erp.purchase.cancel",true)
 ];
}
