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
public class BAccountExt : PXCacheExtension<PX.Objects.CR.BAccount> | |
{ | |
#region UsrDefaultWarehouse | |
[Site()] | |
public virtual int? UsrDefaultWarehouse { get; set; } | |
public abstract class usrDefaultWarehouse : IBqlField { } | |
#endregion | |
} | |
public class ReportsDefault : IBqlTable | |
{ | |
#region UsrDefaultWarehouse | |
[Site()] | |
[PXDefault(typeof(Search2<BAccountExt.usrDefaultWarehouse, | |
InnerJoin<Branch, On<Branch.bAccountID, Equal<BAccount.bAccountID>>>, | |
Where<Branch.branchID, Equal<Current<AccessInfo.branchID>>>>))] | |
public virtual int? UsrDefaultWarehouse { get; set; } | |
public abstract class usrDefaultWarehouse : IBqlField { } | |
#endregion | |
} | |
//use it in report | |
//=Report.GetDefExt('EmployeeDefault.UsrDefaultWarehouse') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment