Esempio n. 1
0
 public DocumentService(Company factoryCompany)
 {
     CurCompany = factoryCompany;
     swriter    = new StringWriter();
     WType      = new WmsTypes();
     ds         = new DataSet();
 }
Esempio n. 2
0
 public ReferenceService_ec(Company factoryCompany)
 {
     swriter    = new StringWriter();
     WType      = new WmsTypes();
     ds         = new DataSet();
     CurCompany = factoryCompany;
 }
Esempio n. 3
0
        //private TransactionMngr TranMngr { get; set; }

        public ErpDataMngr()
        {
            //Factory = new DaoFactory();
            WType   = new WmsTypes(Factory);
            DocMngr = new DocumentMngr();
            //TranMngr = new TransactionMngr();
            Rules = new Rules(Factory);
        }
Esempio n. 4
0
 public DocumentService_ec(Company factoryCompany)
 {
     // initialization
     swriter    = new StringWriter();
     WType      = new WmsTypes();
     ds         = new DataSet();
     CurCompany = factoryCompany;
 }
        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");
        }
        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");
        }
Esempio n. 7
0
 public ReferenceService(Company factoryCompany)
 {
     CurCompany = factoryCompany;
     WType      = new WmsTypes();
     ds         = new DataSet();
 }
Esempio n. 8
0
 public LabelMngr()
 {
     Factory = new DaoFactory();
     WType   = new WmsTypes(Factory);
 }