Beispiel #1
0
        public DocumentMngr()
        {
            //Factory = new DaoFactory();
            WType = new WmsTypes(Factory);
            Rules = new Rules(Factory);

        }
 public ReferenceService_ec(Company factoryCompany)
 {
     swriter = new StringWriter();
     WType = new WmsTypes();
     ds = new DataSet();
     CurCompany = factoryCompany;            
 
 }
 public DocumentService_ec(Company factoryCompany)
 {
     // initialization 
     swriter = new StringWriter();
     WType = new WmsTypes();
     ds = new DataSet();
     CurCompany = factoryCompany;
 }
        //private TransactionMngr TranMngr { get; set; }

        public ErpDataMngr()
        {
            //Factory = new DaoFactory();
            WType = new WmsTypes(Factory);
            DocMngr = new DocumentMngr();
            //TranMngr = new TransactionMngr();
            Rules = new Rules(Factory);
        }
        //Constructor
        public TransactionMngr()
        {
            Factory = new DaoFactory();

            WType = new WmsTypes(Factory);
            LblMngr = new LabelMngr();
            DocMngr = new DocumentMngr();
            ErpMngr = new ErpDataMngr();
            Rules = new Rules(Factory);
        }
Beispiel #6
0
 //Constructor
 public Control()
 {
     Factory = new DaoFactory();
     DocMngr = new DocumentMngr();
     LabelMngr = new LabelMngr();
     TranMngr = new TransactionMngr();
     ErpMngr = new ErpDataMngr();
     RptMngr = new ReportMngr();
     BasicMngr = new BasicMngr();
     MsgMngr = new MessageMngr();
     WType = new WmsTypes();
 }
        public DocumentService(Company factoryCompany)
        {
            CurCompany = factoryCompany;
            WType = new WmsTypes();

            if (ErpSetup == null)
                ErpSetup = WType.GetConnectionErpSetup(new ConnectionErpSetup
                {
                    EntityType = CnnEntityType.Documents,
                    ConnectionTypeID = CnnType.UnoEE
                });

            Separator = GetErpQuery("DSEPARATOR");
        }
Beispiel #8
0
        public ReferenceService(Company factoryCompany)
        {
            CurCompany = factoryCompany;
            WType = new WmsTypes();
            ds = new DataSet();

            if (ErpSetup == null)
                ErpSetup = WType.GetConnectionErpSetup(new ConnectionErpSetup
                {
                    EntityType = CnnEntityType.References,
                    ConnectionTypeID =  CnnType.UnoEE 
                });

            Separator = GetErpQuery("SEPARATOR");

        }
Beispiel #9
0
 public BasicMngr()
 {
     Factory = new DaoFactory();
     Wtype = new WmsTypes(Factory);
 }
Beispiel #10
0
 public LabelMngr()
  {
      Factory = new DaoFactory();
      WType = new WmsTypes(Factory);
  }
Beispiel #11
0
 public ReferenceService(Company factoryCompany)
 {
     CurCompany = factoryCompany;
     WType = new WmsTypes();
     ds = new DataSet();
 }