Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.