Пример #1
0
        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");
        }
Пример #2
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");

        }