示例#1
0
 /// <summary>
 ///  Constructor
 /// </summary>
 /// <param name="ctx">context</param>
 /// <param name="PA_Report_ID">id</param>
 /// <param name="trxName">transaction</param>
 public MReport(Ctx ctx, int PA_Report_ID, Trx trxName)
     : base(ctx, PA_Report_ID, trxName)
 {
     if (PA_Report_ID == 0)
     {
         //	setName (null);
         //	setPA_ReportLineSet_ID (0);
         //	setPA_ReportColumnSet_ID (0);
         SetListSources(false);
         SetListTrx(false);
     }
     else
     {
         _columnSet = new MReportColumnSet(ctx, GetPA_ReportColumnSet_ID(), trxName);
         _lineSet   = new MReportLineSet(ctx, GetPA_ReportLineSet_ID(), trxName);
     }
 }       //	MReport
示例#2
0
        }       //	MReport

        /// <summary>
        /// Load Constructor
        /// </summary>
        /// <param name="ctx">context</param>
        /// <param name="rs">datarow</param>
        /// <param name="trxName">transaction</param>
        public MReport(Ctx ctx, DataRow dr, Trx trxName)
            : base(ctx, dr, trxName)
        {
            _columnSet = new MReportColumnSet(ctx, GetPA_ReportColumnSet_ID(), trxName);
            _lineSet   = new MReportLineSet(ctx, GetPA_ReportLineSet_ID(), trxName);
        }       //	MReport