using Uniconta.DataModel; using Uniconta.API.System; var crudApi = new CrudAPI(baseApi); var numberSeries = await crudApi.Query<Uniconta.DataModel.NumberSerie>().ToList(); var serieName = numberSeries.First().KeyStr; var numberSerieAPI = new NumberSerieAPI(baseApi); var numberSerie = ClientHelper.GetRefClient<NumberSerieClient>(this.api.CompanyId, typeof(NumberSerie), "Serie"); var number = numberSerieAPI.GetNewNumber("Serie"); var fullNumber numberSerie.Prefix + numberSerieAPI.GetNewNumber("Serie"); var number = numberSerieAPI.ViewNextNumber("Serie"); numberSerieAPI.SetNumber("Serie", 100); numberSerieAPI.CancelNumber("Serie", 100);
467800cookie-checkUniconta NumberSerie GetNewNumber