Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jvanhoesen
Last active November 25, 2020 00:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jvanhoesen/825585aea3c9217199f81c9d12476ddf to your computer and use it in GitHub Desktop.
Save jvanhoesen/825585aea3c9217199f81c9d12476ddf to your computer and use it in GitHub Desktop.
IAssign field implementation
#region OwnerID
public abstract class ownerID : BqlGuid.Field<ownerID>
{
}
[PXDBGuid]
[PXDefault(typeof(ownerID), PersistingCheck = PXPersistingCheck.Nothing)]
[PXOwnerSelector]
[PXUIField(DisplayName = "Owner")]
public virtual Guid? OwnerID { get; set; }
#endregion
#region WorkgroupID
public abstract class workgroupID : BqlInt.Field<workgroupID>
{
}
[PXDBInt]
[PXDefault(typeof(workgroupID), PersistingCheck = PXPersistingCheck.Nothing)]
[PXCompanyTreeSelector]
[PXUIField(DisplayName = "Workgroup", Enabled = false)]
public virtual int? WorkgroupID { get; set; }
#endregion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment