Created
September 18, 2015 16:25
-
-
Save smarenich/3f2d2e0235f8762e2ea5 to your computer and use it in GitHub Desktop.
Table-Valued Function DAC
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
namespace PX.Objects.GL | |
{ | |
using System; | |
using PX.Data; | |
[System.SerializableAttribute()] | |
public class StatisticsView : PX.Data.IBqlTable | |
{ | |
#region Code | |
public abstract class code : PX.Data.IBqlField | |
{ | |
} | |
protected int? _Code; | |
[PXDBIdentity(IsKey = true)] | |
[PXUIField(Enabled = false)] | |
public virtual int? Code | |
{ | |
get | |
{ | |
return this._Code; | |
} | |
set | |
{ | |
this._Code = value; | |
} | |
} | |
#endregion | |
#region BranchID | |
public abstract class branchID : PX.Data.IBqlField | |
{ | |
} | |
protected int? _BranchID; | |
[Branch(IsKey = true)] | |
public virtual int? BranchID | |
{ | |
get | |
{ | |
return this._BranchID; | |
} | |
set | |
{ | |
this._BranchID = value; | |
} | |
} | |
#endregion | |
#region Description | |
public abstract class description : PX.Data.IBqlField | |
{ | |
} | |
protected string _Description; | |
[PXDBString(255, IsUnicode = true)] | |
[PXDefault("")] | |
[PXUIField(DisplayName = "Description")] | |
public virtual string Description | |
{ | |
get | |
{ | |
return this._Description; | |
} | |
set | |
{ | |
this._Description = value; | |
} | |
} | |
#endregion | |
#region Balance | |
public abstract class balance : PX.Data.IBqlField | |
{ | |
} | |
protected decimal? _Balance; | |
[PX.Objects.CM.PXDBBaseCury()] | |
[PXDefault(TypeCode.Decimal,"0.0")] | |
[PXUIField(DisplayName = "Balance")] | |
public virtual decimal? Balance | |
{ | |
get | |
{ | |
return this._Balance; | |
} | |
set | |
{ | |
this._Balance = value; | |
} | |
} | |
#endregion | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment