Beispiel #1
0
        public override O7Response DocumentTypes()
        {
            var series           = FinantialDataService.DocumentTypes();
            var seriesSerialized = O7JsonSerealizer.Serialize(series);

            return(O7SuccessResponse.MakeResponse(seriesSerialized));
        }
Beispiel #2
0
        public override O7Response BussinessLine(string companyId, string branchId)
        {
            var bussinesslines           = FinantialDataService.AllBusinessLines(companyId, branchId);
            var bussinesslinesSerialized = O7JsonSerealizer.Serialize(bussinesslines);

            return(O7SuccessResponse.MakeResponse(bussinesslinesSerialized));
        }
Beispiel #3
0
        public override O7Response Currencies_Exchanges(string companyId)
        {
            var invoiceadresses           = FinantialDataService.AllCurrencies_Tip_Cambios(companyId);
            var invoiceadressesSerialized = O7JsonSerealizer.Serialize(invoiceadresses);

            return(O7SuccessResponse.MakeResponse(invoiceadressesSerialized));
        }
Beispiel #4
0
        public override O7Response UpdateExchange(string date, string currencyBegin, string dateNew, string currencyBeginNew, string buyValue, string sellValue)
        {
            var respuesta           = FinantialDataService.UpdateExchange(date, currencyBegin, dateNew, currencyBeginNew, buyValue, sellValue);
            var respuestaSerialized = O7JsonSerealizer.Serialize(respuesta);

            return(O7SuccessResponse.MakeResponse(respuestaSerialized));
        }
Beispiel #5
0
        public override O7Response FinantialCodes()
        {
            var finantialcodes           = FinantialDataService.AllFinantialCodes();
            var finantialcodesSerialized = O7JsonSerealizer.Serialize(finantialcodes);

            return(O7SuccessResponse.MakeResponse(finantialcodesSerialized));
        }
Beispiel #6
0
        public override O7Response getExpirationDate(string companyId, string branchId, string payment, string documentDate)
        {
            var cco           = FinantialDataService.GetFecVto(companyId, branchId, payment, documentDate);
            var ccoSerialized = O7JsonSerealizer.Serialize(cco);

            return(O7SuccessResponse.MakeResponse(ccoSerialized));
        }
Beispiel #7
0
        //cond venta,tipventa ,form pago,codfin,vende,line
        public override O7Response CondSells()
        {
            var condsells           = FinantialDataService.AllCondSells();
            var condsellsSerialized = O7JsonSerealizer.Serialize(condsells);

            return(O7SuccessResponse.MakeResponse(condsellsSerialized));
        }
Beispiel #8
0
        public override O7Response ViewAddressFact(string companyId, string branchId, string codClient)
        {
            var result           = FinantialDataService.ViewAddressFact(companyId, branchId, codClient);
            var seriesSerialized = O7JsonSerealizer.Serialize(result);

            return(O7SuccessResponse.MakeResponse(seriesSerialized));
        }
Beispiel #9
0
        public override O7Response SavePrincipalAddressEnt(string companyId, string branchId, string codClient, string dirEnt)
        {
            var result           = FinantialDataService.SavePrincipalAddressEnt(companyId, branchId, codClient, dirEnt);
            var seriesSerialized = O7JsonSerealizer.Serialize(result);

            return(O7SuccessResponse.MakeResponse(seriesSerialized));
        }
Beispiel #10
0
        public override O7Response AllDistricts(string country, string departmentId, string provinceId)
        {
            var result           = FinantialDataService.AllDistricts(country, departmentId, provinceId);
            var seriesSerialized = O7JsonSerealizer.Serialize(result);

            return(O7SuccessResponse.MakeResponse(seriesSerialized));
        }
Beispiel #11
0
        public override O7Response AllRoute(string companyId, string branchId)
        {
            var result           = FinantialDataService.AllRoutes(companyId, branchId);
            var seriesSerialized = O7JsonSerealizer.Serialize(result);

            return(O7SuccessResponse.MakeResponse(seriesSerialized));
        }
Beispiel #12
0
        public override O7Response AllDepartments(string country)
        {
            var result           = FinantialDataService.AllDepartments(country);
            var seriesSerialized = O7JsonSerealizer.Serialize(result);

            return(O7SuccessResponse.MakeResponse(seriesSerialized));
        }
Beispiel #13
0
        public override O7Response ClientStates()
        {
            var result           = FinantialDataService.ClientStates();
            var seriesSerialized = O7JsonSerealizer.Serialize(result);

            return(O7SuccessResponse.MakeResponse(seriesSerialized));
        }
Beispiel #14
0
        public override O7Response AllPostales()
        {
            var client           = FinantialDataService.AllPostales();
            var clientSerialized = O7JsonSerealizer.Serialize(client);

            return(O7SuccessResponse.MakeResponse(clientSerialized));
        }
Beispiel #15
0
        public override O7Response ClientDefaultValues(string companyId, string branchId, string clientCode)
        {
            var cco           = FinantialDataService.ClientDefaultValues(companyId, branchId, clientCode);
            var ccoSerialized = O7JsonSerealizer.Serialize(cco);

            return(O7SuccessResponse.MakeResponse(ccoSerialized));
        }
Beispiel #16
0
        public override O7Response GetExchanges(string companyId, string dateIni, string dateFin)
        {
            var ccos           = FinantialDataService.GetExchanges(companyId, dateIni, dateFin);
            var ccosSerialized = O7JsonSerealizer.Serialize(ccos);

            return(O7SuccessResponse.MakeResponse(ccosSerialized));
        }
Beispiel #17
0
        public override O7Response documentInformation(string companyId, string branchId, string documentType)
        {
            var cco           = FinantialDataService.DocumentInformation(companyId, branchId, documentType);
            var ccoSerialized = O7JsonSerealizer.Serialize(cco);

            return(O7SuccessResponse.MakeResponse(ccoSerialized));
        }
Beispiel #18
0
        // Inicio de la parte InvoiceFlow de Gf
        public override O7Response AllInvoices(string companyId, string branchId, string filter, string clientCode)
        {
            var invoices           = FinantialDataService.AllInvoices(companyId, branchId, filter, clientCode);
            var invoicesSerialized = O7JsonSerealizer.Serialize(invoices);

            return(O7SuccessResponse.MakeResponse(invoicesSerialized));
        }
Beispiel #19
0
        public override O7Response Series(string companyId, string branchId, string docType)
        {
            var series           = FinantialDataService.Series(companyId, branchId, docType);
            var seriesSerialized = O7JsonSerealizer.Serialize(series);

            return(O7SuccessResponse.MakeResponse(seriesSerialized));
        }
Beispiel #20
0
        public override O7Response GetInvoiceDetail(string companyId, string branchId, string documentType, string documentId)
        {
            var result           = FinantialDataService.GetInvoiceDetail(companyId, branchId, documentType, documentId);
            var seriesSerialized = O7JsonSerealizer.Serialize(result);

            return(O7SuccessResponse.MakeResponse(seriesSerialized));
        }
Beispiel #21
0
        public override O7Response SellTypes()
        {
            var selltypes           = FinantialDataService.AllSellsTypes();
            var selltypesSerialized = O7JsonSerealizer.Serialize(selltypes);

            return(O7SuccessResponse.MakeResponse(selltypesSerialized));
        }
Beispiel #22
0
        public override O7Response GetCco(string companyId, string branchId, string dateB, string code)
        {
            var ccos           = FinantialDataService.GetCco(companyId, branchId, code, dateB);
            var ccosSerialized = O7JsonSerealizer.Serialize(ccos);

            return(O7SuccessResponse.MakeResponse(ccosSerialized));
        }
Beispiel #23
0
        public override O7Response Payments(string cod_sell)
        {
            var payment           = FinantialDataService.AllPayements(cod_sell);
            var paymentSerialized = O7JsonSerealizer.Serialize(payment);

            return(O7SuccessResponse.MakeResponse(paymentSerialized));
        }
Beispiel #24
0
        public override O7Response AddInvoice(string companyId, string branchId,
                                              string documentType, string serie,
                                              string currency, string documentDate,
                                              string documentExpiration, string clienteCode
                                              , string codTax, string clientName
                                              , string invoiceAddress, string clientId, string glosa,
                                              string sellType, string language,
                                              string condSell, string payment,
                                              string bussinessline, string finantialcod,
                                              string telephone, string seller,
                                              string employeeId, string perception,
                                              string donate, string documentTypeRef,
                                              string documentIdRef, string documentOc,
                                              string guiRem, string addressId,
                                              string serieExtRef, string nroDoceExt)
        {
            var invoices = FinantialDataService.AddInvoice(companyId, branchId,
                                                           documentType, serie,
                                                           currency, documentDate,
                                                           documentExpiration, clienteCode
                                                           , codTax, clientName
                                                           , invoiceAddress, clientId, glosa,
                                                           sellType, language,
                                                           condSell, payment,
                                                           bussinessline, finantialcod,
                                                           telephone, seller,
                                                           employeeId, perception,
                                                           donate, documentTypeRef,
                                                           documentIdRef, documentOc,
                                                           guiRem, addressId, serieExtRef, nroDoceExt);

            // var invoicesSerialized = O7JsonSerealizer.Serialize(invoices);
            return(O7SuccessResponse.MakeResponse(invoices));
        }
Beispiel #25
0
        public override O7Response Sellers(string companyId, string branchId)
        {
            var sellers           = FinantialDataService.AllSeller(companyId, branchId);
            var sellersSerialized = O7JsonSerealizer.Serialize(sellers);

            return(O7SuccessResponse.MakeResponse(sellersSerialized));
        }
Beispiel #26
0
        public override O7Response Concepts(string companyId, string branchId, string ratePerception)
        {
            var concepts           = FinantialDataService.AllConcepts(companyId, branchId, ratePerception);
            var conceptsSerialized = O7JsonSerealizer.Serialize(concepts);

            return(O7SuccessResponse.MakeResponse(conceptsSerialized));
        }
Beispiel #27
0
        public override O7Response InvoiceAdresses(string companyId, string branchId, string clientId)
        {
            var invoiceadresses           = FinantialDataService.AllDirFacs(companyId, branchId, clientId);
            var invoiceadressesSerialized = O7JsonSerealizer.Serialize(invoiceadresses);

            return(O7SuccessResponse.MakeResponse(invoiceadressesSerialized));
        }
Beispiel #28
0
        public override O7Response Cco(string companyId, string branchId)
        {
            var cco           = FinantialDataService.AllCco(companyId, branchId);
            var ccoSerialized = O7JsonSerealizer.Serialize(cco);

            return(O7SuccessResponse.MakeResponse(ccoSerialized));
        }
Beispiel #29
0
        public override O7Response Perceptions()
        {
            var invoiceadresses           = FinantialDataService.AllPerception();
            var invoiceadressesSerialized = O7JsonSerealizer.Serialize(invoiceadresses);

            return(O7SuccessResponse.MakeResponse(invoiceadressesSerialized));
        }
Beispiel #30
0
        public override O7Response AllClients(string companyId, string branchId, string filter)
        {
            var client           = FinantialDataService.AllClients(companyId, branchId, filter);
            var clientSerialized = O7JsonSerealizer.Serialize(client);

            return(O7SuccessResponse.MakeResponse(clientSerialized));
        }