Created
February 28, 2022 14:57
-
-
Save BrianMRO/19cfdcb260d56c40ec4a73ee636da9ad to your computer and use it in GitHub Desktop.
Workflow - Statuses Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class Statuses | |
{ | |
public class ListAttribute : PXStringListAttribute | |
{ | |
public ListAttribute() : base( | |
new[] | |
{ | |
Pair(Hold, PX.Objects.EP.Messages.Hold), | |
Pair(Open, PX.Objects.EP.Messages.Open), | |
Pair(Complete, PX.Objects.EP.Messages.Complete), | |
}) | |
{ } | |
} | |
public const string Initial = "_"; | |
public const string Hold = "H"; | |
public const string Open = "O"; | |
public const string Complete = "C"; | |
public class hold : PX.Data.BQL.BqlString.Constant<hold> { public hold() : base(Hold) { } } | |
public class open : PX.Data.BQL.BqlString.Constant<open> { public open() : base(Open) { } } | |
public class complete : PX.Data.BQL.BqlString.Constant<complete> { public complete() : base(Complete) { } } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment