Created
December 21, 2020 02:08
-
-
Save tocohara/5865a6822b57758c947eadfefb2257b8 to your computer and use it in GitHub Desktop.
Acumatica Service Order DAC Service Order Type Field
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 abstract class srvOrdType : PX.Data.BQL.BqlString.Field<srvOrdType> { } | |
[PXDBString(4, IsKey = true, IsFixed = true, InputMask = ">AAAA")] | |
[PXUIField(DisplayName = "Service Order Type", Visibility = PXUIVisibility.SelectorVisible)] | |
[PXDefault(typeof(Coalesce< | |
Search<FSxUserPreferences.dfltSrvOrdType, | |
Where< | |
PX.SM.UserPreferences.userID, Equal<CurrentValue<AccessInfo.userID>>>>, | |
Search<FSSetup.dfltSrvOrdType>>))] | |
[FSSelectorSrvOrdType] | |
[PXUIVerify(typeof(Where<Current<FSSrvOrdType.active>, Equal<True>>), | |
PXErrorLevel.Warning, TX.Error.SRVORDTYPE_INACTIVE, CheckOnRowSelected = true)] | |
[PX.Data.EP.PXFieldDescription] | |
public virtual string SrvOrdType { get; set; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment