Created
February 2, 2017 03:25
-
-
Save smarenich/2fcbc93ea933555638f704af55ac7859 to your computer and use it in GitHub Desktop.
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
using PX.Common; | |
using PX.Data.EP; | |
using PX.Data; | |
using PX.Objects.CM; | |
using PX.Objects.CR; | |
using PX.Objects.CS; | |
using PX.Objects.GL; | |
using PX.Objects; | |
using System.Collections.Generic; | |
using System; | |
namespace PX.Objects.GL | |
{ | |
[PXNonInstantiatedExtension] | |
public class GL_Batch_ExistingColumn : PXCacheExtension<PX.Objects.GL.Batch> | |
{ | |
#region Description | |
[PXUIField(DisplayName = "My Descr", Visibility = PXUIVisibility.Visible)] | |
[PXDBString(255, IsUnicode = true)] | |
[PXDefault] | |
public string Description { get; set; } | |
#endregion | |
public static bool IsActive() | |
{ | |
return PX.Data.Update.PXInstanceHelper.CurrentCompany == 2; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment