How i change the Enabled= attribute via a preloaded field
        Posted  
        
            by 
                user1904656
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by user1904656
        
        
        
        Published on 2012-12-14T17:01:53Z
        Indexed on 
            2012/12/14
            17:03 UTC
        
        
        Read the original article
        Hit count: 300
        
c#
I want to modify the PXUIField Enabled=false/true using an existing boolean field 
    #region LastBatNbr
    public abstract class lastBatNbr : PX.Data.IBqlField
    {
    }
protected String _LastBatNbr;
[PXDBString(10, IsFixed = true)]
[PXUIField(DisplayName = "Last Batch Nbr")] 
public virtual String LastBatNbr
{
    get
    {
    return this._LastBatNbr;
    }
    set
    {
    this._LastBatNbr = value;
    }
}
#endregion
© Stack Overflow or respective owner