/// <summary>
 /// Constructor with Crystal report document
 /// </summary>
 /// <param name="rp"></param>
 /// <param name="session"></param>
 /// <param name="accpacReport"></param>
 public SageWebReportDocument(ReportDocument rp, IBusinessEntitySession session, ACCPAC.Advantage.Report accpacReport)
 {
     CrystalReportDocument = rp;
     Session      = session;
     AccpacReport = accpacReport;
 }
 /// <summary>
 /// Constructor for TaxAuthorities
 /// </summary>
 /// <param name="context">Context</param>
 /// <param name="session">Business Entity Session</param>
 public TaxAuthoritiesRepository(Context context, IBusinessEntitySession session)
     : base(context, new TaxAuthoritiesMapper <T>(context), ActiveFilter, session)
 {
     SetFilter(context);
 }
 /// <summary>
 /// Constructor for Clear Statistics Repository
 /// </summary>
 /// <param name="context">Request Context</param>
 /// <param name="session">Business Entity Session</param>
 public ClearStatisticsRepository(Context context, IBusinessEntitySession session)
     : base(context, new ClearStatisticsMapper <T>(context), session)
 {
 }
Exemplo n.º 4
0
 /// <summary>
 /// Constructor for SourceCode
 /// </summary>
 /// <param name="context">Context</param>
 /// <param name="session">Business Entity Session</param>
 public SourceCodeRepository(Context context, IBusinessEntitySession session)
     : base(context, new SourceCodeMapper <T>(context), null, session)
 {
     ValidRecordFilter = RecordFilter;
 }
Exemplo n.º 5
0
 /// <summary>
 /// Constructor for SourceJournalProfileReport
 /// </summary>
 /// <param name="context">Context</param>
 /// <param name="session">Business Entity Session</param>
 public SourceJournalProfileReportRepository(Context context, IBusinessEntitySession session)
     : base(context, new SourceJournalProfileReportMapper <T>(context), session)
 {
 }
Exemplo n.º 6
0
 /// <summary>
 /// Constructor for ReceiptHeader
 /// </summary>
 /// <param name="context">Context</param>
 /// <param name="session">Business Entity Session</param>
 public ReceiptHeaderRepository(Context context, IBusinessEntitySession session)
     : base(context, new ReceiptHeaderMapper(context), null, session)
 {
     ValidRecordFilter = RecordFilter;
 }
 /// <summary>
 /// Constructor for SourceJournalProfile
 /// </summary>
 /// <param name="context">Context</param>
 /// <param name="session">Business Entity Session</param>
 public SourceJournalProfileRepository(Context context, IBusinessEntitySession session)
     : base(context, new SourceJournalProfileMapper <T>(context), ActiveFilter, session)
 {
     _context = context;
 }
Exemplo n.º 8
0
 /// <summary>
 ///  Constructor
 /// </summary>
 /// <param name="context">context</param>
 /// <param name="session">session</param>
 public OrderRepository(Context context, IBusinessEntitySession session) : base(context, session)
 {
 }
Exemplo n.º 9
0
 /// <summary>
 /// Constructor for SegmentCodes
 /// </summary>
 /// <param name="context">Context</param>
 /// <param name="session">Business Entity Session</param>
 public SegmentCodesRepository(Context context, IBusinessEntitySession session)
     : base(context, new SegmentCodesMapper <T>(context), ActiveFilter, session)
 {
     SetFilter(context);
 }