/// <summary> /// Organization constructor /// </summary> /// <param name="org">org</param> public MOrgInfo(MOrg org) : base(org.GetCtx(), 0, org.Get_TrxName()) { SetClientOrg(org); SetDUNS("?"); SetTaxID("?"); }
} // MUserOrgAccess /// <summary> /// Organization Constructor /// </summary> /// <param name="org">org</param> /// <param name="AD_User_ID"> role</param> public MUserOrgAccess(MOrg org, int AD_User_ID) : this(org.GetCtx(), 0, org.Get_TrxName()) { //this (org.GetCtx(), 0, org.Get_TrxName()); SetClientOrg(org); SetAD_User_ID(AD_User_ID); } // MUserOrgAccess
/// <summary> /// Organization Constructor /// </summary> /// <param name="org">org</param> public MWarehouse(MOrg org) : this(org.GetCtx(), 0, org.Get_TrxName()) { SetClientOrg(org); SetValue(org.GetValue()); SetName(org.GetName()); if (org.GetInfo() != null) { SetC_Location_ID(org.GetInfo().GetC_Location_ID()); } }
/// <summary> /// Organization Constructor /// </summary> /// <param name="org">org</param> /// <param name="AD_Role_ID">role id</param> public MRoleOrgAccess(MOrg org, int AD_Role_ID) : this(org.GetCtx(), 0, org.Get_TrxName()) { SetClientOrg(org); SetAD_Role_ID(AD_Role_ID); }