n8n-nodes-centum 0.2.28 → 0.2.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -1
- package/dist/nodes/Centum/Centum.node.js +1166 -1044
- package/dist/nodes/Centum/Centum.node.js.map +1 -1
- package/dist/nodes/Centum/CentumDescription.js +369 -161
- package/dist/nodes/Centum/CentumDescription.js.map +1 -1
- package/dist/nodes/Centum/helpers/functions.d.ts +4 -2
- package/dist/nodes/Centum/helpers/functions.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -10,139 +10,139 @@ exports.CentumOperations = [
|
|
|
10
10
|
options: [
|
|
11
11
|
{
|
|
12
12
|
name: '_Token De Acceso - Generación',
|
|
13
|
-
value: '
|
|
13
|
+
value: 'generarTokenSeguridad',
|
|
14
14
|
action: 'Genera un nuevo token',
|
|
15
15
|
description: 'Genera un nuevo token para utilizarlo con una herramienta externa como postman'
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
name: 'Articulo - Buscar',
|
|
19
|
-
value: '
|
|
19
|
+
value: 'buscarProductos',
|
|
20
20
|
action: 'Busca un articulo por nombre',
|
|
21
21
|
description: 'Busca un articulo por nombre y retorna todas las ocurrencias'
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
name: 'Articulo - Por ID',
|
|
25
|
-
value: '
|
|
25
|
+
value: 'buscarProductoPorCodigo',
|
|
26
26
|
action: 'Buscar artículo por ID',
|
|
27
27
|
description: 'Retorna un artículo específico basado en su ID único'
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
name: 'Artículos - Existencia',
|
|
31
|
-
value: '
|
|
31
|
+
value: 'consultarStock',
|
|
32
32
|
action: 'Obtener existencias de artículos',
|
|
33
33
|
description: 'Retorna un listado de las existencias de los artículos en base a ciertos filtros'
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
name: 'Artículos - Filtrado',
|
|
37
|
-
value: '
|
|
37
|
+
value: 'listarProductosDisponibles',
|
|
38
38
|
action: 'Buscar artículos con filtros',
|
|
39
39
|
description: 'Retorna un listado de artículos para vender en base a ciertos filtros'
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
name: 'Artículos - Imagen',
|
|
43
|
-
value: '
|
|
43
|
+
value: 'descargarImagenesProductos',
|
|
44
44
|
action: 'Obtener imagen de artículo',
|
|
45
45
|
description: 'Retorna la imagen (binario) de un artículo'
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
48
|
name: 'Artículos - Listado',
|
|
49
|
-
value: '
|
|
49
|
+
value: 'listarTodosLosProductos',
|
|
50
50
|
action: 'Obtener datos generales de artículos',
|
|
51
51
|
description: 'Retorna un listado de los artículos y sus datos generales'
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
name: 'Artículos - Precio Por Lista',
|
|
55
|
-
value: '
|
|
55
|
+
value: 'consultarPrecioProducto',
|
|
56
56
|
action: 'Obtén el precio de un artículo según la lista',
|
|
57
57
|
description: 'Devuelve el valor de un artículo, según la lista indicada'
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
60
|
name: 'Artículos - Stock Sucursal Física',
|
|
61
|
-
value: '
|
|
61
|
+
value: 'listarProductosPorSucursal',
|
|
62
62
|
action: 'Obtener stock por sucursal física',
|
|
63
63
|
description: 'Retorna el stock de artículos en una sucursal física específica'
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
66
|
name: 'Artículos - Stock Sucursal Física Por ID Artículo',
|
|
67
|
-
value: '
|
|
67
|
+
value: 'buscarProductoEnSucursal',
|
|
68
68
|
action: 'Obtener el stock por artículo individual por sucursal física',
|
|
69
69
|
description: 'Retorna el stock de un artículo en específico de una sucursal física'
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
name: 'Bonificaciones - Obtener',
|
|
73
|
-
value: '
|
|
73
|
+
value: 'listarBonificaciones',
|
|
74
74
|
action: 'Obtiene el listado de bonificaciones disponibles',
|
|
75
75
|
description: 'Obtiene el listado completo de bonificaciones disponibles'
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
78
|
name: 'Categorías - Obtener',
|
|
79
|
-
value: '
|
|
79
|
+
value: 'listarCategorias',
|
|
80
80
|
action: 'Obten el listado de las categorías',
|
|
81
81
|
description: 'Obten el listado completo de todas las categorías de los articulos'
|
|
82
82
|
},
|
|
83
83
|
{
|
|
84
84
|
name: 'Cliente - Actualizar',
|
|
85
|
-
value: '
|
|
85
|
+
value: 'actualizarCliente',
|
|
86
86
|
action: 'Actualizar cliente',
|
|
87
87
|
description: 'Actualiza un cliente y retorna su información con la URL para acceder al recurso'
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
90
|
name: 'Cliente - Búsqueda',
|
|
91
|
-
value: '
|
|
91
|
+
value: 'buscarClientes',
|
|
92
92
|
action: 'Buscar cliente',
|
|
93
93
|
description: 'Retorna un listado de clientes en base a ciertos filtros'
|
|
94
94
|
},
|
|
95
95
|
{
|
|
96
96
|
name: 'Cliente - Búsqueda Por CUIT',
|
|
97
|
-
value: '
|
|
97
|
+
value: 'buscarClientePorCuit',
|
|
98
98
|
action: 'Buscar clientes por CUIT',
|
|
99
99
|
description: 'Retorna un listado de clientes basado en el CUIT proporcionado'
|
|
100
100
|
},
|
|
101
101
|
{
|
|
102
102
|
name: 'Cliente - Lista',
|
|
103
|
-
value: '
|
|
103
|
+
value: 'listarClientes',
|
|
104
104
|
action: 'Obtener lista de clientes',
|
|
105
105
|
description: 'Retorna una lista con todos los clientes registrados'
|
|
106
106
|
},
|
|
107
107
|
{
|
|
108
108
|
name: 'Cliente - Nuevo',
|
|
109
|
-
value: '
|
|
109
|
+
value: 'crearCliente',
|
|
110
110
|
action: 'Crear nuevo cliente',
|
|
111
111
|
description: 'Da de alta un cliente. Retornará el cliente creado (con su ID cargado) y la URL para acceder al nuevo recurso.'
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
114
|
name: 'Cliente - Obtener Composición Del Saldo',
|
|
115
|
-
value: '
|
|
115
|
+
value: 'verDetalleSaldoCliente',
|
|
116
116
|
description: 'Obtiene la composición del saldo de la cuenta corriente del cliente especificado',
|
|
117
117
|
action: 'Obtener composición del saldo del cliente'
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
120
|
name: 'Cliente - Obtener Facturas De Cobro',
|
|
121
|
-
value: '
|
|
121
|
+
value: 'listarFacturasCobros',
|
|
122
122
|
description: 'Obtiene la totalidad de las facturas de los cobros del cliente especificado',
|
|
123
123
|
action: 'Obtener facturas de cobros del cliente'
|
|
124
124
|
},
|
|
125
125
|
{
|
|
126
126
|
name: 'Cliente - Obtener Facturas De Venta',
|
|
127
|
-
value: '
|
|
127
|
+
value: 'listarFacturasVenta',
|
|
128
128
|
description: 'Obtiene la totalidad de las facturas de los pedido de ventas del cliente especificado',
|
|
129
129
|
action: 'Obtener facturas de pedidos de ventas del cliente'
|
|
130
130
|
},
|
|
131
131
|
{
|
|
132
132
|
name: 'Cliente - Obtener Facturas De Venta Por ID',
|
|
133
|
-
value: '
|
|
133
|
+
value: 'listarFacturasVentasPorCliente',
|
|
134
134
|
description: 'Obtiene la totalidad de las facturas de los pedido de ventas del cliente especificado',
|
|
135
135
|
action: 'Obtener facturas de pedidos de ventas del cliente'
|
|
136
136
|
},
|
|
137
137
|
{
|
|
138
138
|
name: 'Cliente - Obtener Promoción',
|
|
139
|
-
value: '
|
|
139
|
+
value: 'listarPromocionesCliente',
|
|
140
140
|
description: 'Obtiene las promociones aplicadas a un cliente desde una fecha seleccionada',
|
|
141
141
|
action: 'Obtener promociones aplicadas a un cliente'
|
|
142
142
|
},
|
|
143
143
|
{
|
|
144
144
|
name: 'Cliente - Obtener Saldo',
|
|
145
|
-
value: '
|
|
145
|
+
value: 'consultarSaldoCliente',
|
|
146
146
|
description: 'Obtiene el saldo del cliente especificado',
|
|
147
147
|
action: 'Obtener saldo del cliente'
|
|
148
148
|
},
|
|
@@ -154,68 +154,78 @@ exports.CentumOperations = [
|
|
|
154
154
|
},
|
|
155
155
|
{
|
|
156
156
|
name: 'Cliente Contribuyente - Nuevo',
|
|
157
|
-
value: '
|
|
157
|
+
value: 'crearContribuyente',
|
|
158
158
|
description: 'Da de alta un cliente contribuyente nuevo. Retornará al cliente creado (con su ID cargado) y la URL para acceder al nuevo recurso.',
|
|
159
159
|
action: 'Crear nuevo cliente contribuyente'
|
|
160
160
|
},
|
|
161
161
|
{
|
|
162
162
|
name: 'Cobro - Nuevo',
|
|
163
|
-
value: '
|
|
163
|
+
value: 'registrarCobro',
|
|
164
164
|
action: 'Registrar nuevo cobro',
|
|
165
165
|
description: 'Da de alta el comprobante. Retornará el comprobante creado con su información y una URL.'
|
|
166
166
|
},
|
|
167
167
|
{
|
|
168
168
|
name: 'Cobro - Obtener Listado',
|
|
169
|
-
value: '
|
|
169
|
+
value: 'listarCobros',
|
|
170
170
|
action: 'Obtener un listado de cobro',
|
|
171
171
|
description: 'Obtener un listado de cobros en base a ciertos parametros'
|
|
172
172
|
},
|
|
173
173
|
{
|
|
174
174
|
name: 'Compras - Generar Compra',
|
|
175
|
-
value: '
|
|
175
|
+
value: 'crearCompra',
|
|
176
176
|
action: 'Genera una compra',
|
|
177
177
|
description: 'Genera una compra desde los parametros especificados'
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
180
|
name: 'Compras - Obtener Listado',
|
|
181
|
-
value: '
|
|
181
|
+
value: 'listarCompras',
|
|
182
182
|
action: 'Obtener un listado de las compras',
|
|
183
183
|
description: 'Obtener un listado de las compras en base a ciertos parametros'
|
|
184
184
|
},
|
|
185
|
+
{
|
|
186
|
+
name: 'Conceptos - Obtener Listado',
|
|
187
|
+
value: 'listarConceptos',
|
|
188
|
+
action: 'Obtener un listado de conceptos'
|
|
189
|
+
},
|
|
185
190
|
{
|
|
186
191
|
name: 'Departamentos - Lista',
|
|
187
|
-
value: '
|
|
192
|
+
value: 'listarDepartamentos',
|
|
188
193
|
description: 'Obtiene un listado de departamentos, normalmente filtrado por provincia'
|
|
189
194
|
},
|
|
195
|
+
{
|
|
196
|
+
name: 'Estadística Ranking - Venta',
|
|
197
|
+
value: 'estadisticaVentaRanking',
|
|
198
|
+
description: 'Obtiene un listado de clientes, articulos, vendedores o sucursales fisicas según un ranking de venta'
|
|
199
|
+
},
|
|
190
200
|
{
|
|
191
201
|
name: 'Marcas - Obtener',
|
|
192
|
-
value: '
|
|
202
|
+
value: 'listarMarcas',
|
|
193
203
|
action: 'Obten el listado de las marcas',
|
|
194
204
|
description: 'Obten el listado completo de todas las marcas de los articulos'
|
|
195
205
|
},
|
|
196
206
|
{
|
|
197
207
|
name: 'Obtener Operador Móvil',
|
|
198
|
-
value: '
|
|
208
|
+
value: 'verificarCredencialesOperador',
|
|
199
209
|
description: 'Obtiene todos los datos de un operador móvil en base a las credenciales'
|
|
200
210
|
},
|
|
201
211
|
{
|
|
202
212
|
name: 'Orden De Compra - Generar',
|
|
203
|
-
value: '
|
|
213
|
+
value: 'crearOrdenCompra',
|
|
204
214
|
description: 'Genera una orden de compra en base a ciertos parametros'
|
|
205
215
|
},
|
|
206
216
|
{
|
|
207
217
|
name: 'Orden De Compra - Obtener',
|
|
208
|
-
value: '
|
|
218
|
+
value: 'verDetalleOrdenCompra',
|
|
209
219
|
description: 'Obtiene una unica orden de compra en base al ID'
|
|
210
220
|
},
|
|
211
221
|
{
|
|
212
222
|
name: 'Ordenes De Compra - Obtener',
|
|
213
|
-
value: '
|
|
223
|
+
value: 'listarOrdenesCompra',
|
|
214
224
|
description: 'Obtiene todas las ordenes de compra en base a ciertos filtros'
|
|
215
225
|
},
|
|
216
226
|
{
|
|
217
227
|
name: 'Pedido De Venta - Actividad',
|
|
218
|
-
value: '
|
|
228
|
+
value: 'verDetallePedidoVenta',
|
|
219
229
|
action: 'Obtener actividad de pedido de venta',
|
|
220
230
|
description: 'Trae un pedido de venta por un identificador único'
|
|
221
231
|
},
|
|
@@ -227,97 +237,102 @@ exports.CentumOperations = [
|
|
|
227
237
|
},
|
|
228
238
|
{
|
|
229
239
|
name: 'Pedidos De Venta - Estado',
|
|
230
|
-
value: '
|
|
240
|
+
value: 'listarEstadosPedidosVenta',
|
|
231
241
|
description: 'Obtiene todos los estados disponibles de los pedidos de ventas'
|
|
232
242
|
},
|
|
233
243
|
{
|
|
234
244
|
name: 'Pedidos De Venta - Listar',
|
|
235
|
-
value: '
|
|
245
|
+
value: 'listarPedidosVenta',
|
|
236
246
|
description: 'Obtiene todos los pedidos de ventas en base a ciertos parámetros'
|
|
237
247
|
},
|
|
238
248
|
{
|
|
239
249
|
name: 'Pedidos De Venta - Resumido',
|
|
240
|
-
value: '
|
|
250
|
+
value: 'listarPedidosVentaFiltrados',
|
|
241
251
|
action: 'Obtiene todos los pedidos de venta en base a ciertos parametros',
|
|
242
252
|
description: 'Obtiene todos los pedidos de venta con un cuerpo de respuesta mas ligero',
|
|
243
253
|
},
|
|
244
254
|
{
|
|
245
255
|
name: 'Precios De Productos - Lista',
|
|
246
|
-
value: '
|
|
256
|
+
value: 'listarPrecios',
|
|
247
257
|
action: 'Obtener lista de precios de productos',
|
|
248
258
|
description: 'Obtiene una lista con el listado de los precios sugeridos'
|
|
249
259
|
},
|
|
250
260
|
{
|
|
251
261
|
name: 'Proceso Binario a Imagen',
|
|
252
|
-
value: '
|
|
262
|
+
value: 'sincronizarImagenes',
|
|
253
263
|
action: 'Procesar imágenes binarias',
|
|
254
264
|
description: 'Procesa datos binarios de imágenes para su uso en WooCommerce'
|
|
255
265
|
},
|
|
256
266
|
{
|
|
257
267
|
name: 'Productos WooCommerce - Generar (JSON Producto)',
|
|
258
|
-
value: '
|
|
268
|
+
value: 'convertirProductosParaWooCommerce',
|
|
259
269
|
description: 'Genera un JSON estructurado para productos WooCommerce a partir de artículos Centum',
|
|
260
270
|
},
|
|
261
271
|
{
|
|
262
272
|
name: 'Proveedor - Buscar',
|
|
263
|
-
value: '
|
|
273
|
+
value: 'buscarProveedor',
|
|
264
274
|
action: 'Obtén el proveedor segun el ID',
|
|
265
275
|
description: 'Retorna la información del proveedor en base al ID'
|
|
266
276
|
},
|
|
267
277
|
{
|
|
268
278
|
name: 'Proveedor - Crear',
|
|
269
|
-
value: '
|
|
279
|
+
value: 'crearProveedor',
|
|
270
280
|
action: 'Obtén el proveedor segun el ID',
|
|
271
281
|
description: 'Retorna la información del proveedor en base al ID'
|
|
272
282
|
},
|
|
283
|
+
{
|
|
284
|
+
name: 'Proveedores - Listar',
|
|
285
|
+
value: 'listarProveedores',
|
|
286
|
+
description: 'Obtiene una lista entera de los proveedores'
|
|
287
|
+
},
|
|
273
288
|
{
|
|
274
289
|
name: 'Provincias - Lista',
|
|
275
|
-
value: '
|
|
290
|
+
value: 'listarProvincias',
|
|
276
291
|
description: 'Obtiene un listado de provincias, normalmente filtrado por país'
|
|
277
292
|
},
|
|
278
293
|
{
|
|
279
294
|
name: 'Regímenes Especiales - ID',
|
|
280
|
-
value: '
|
|
295
|
+
value: 'verDetalleRegimenEspecial',
|
|
281
296
|
description: 'Trae un listado entero de los regímenes especiales'
|
|
282
297
|
},
|
|
283
298
|
{
|
|
284
299
|
name: 'Regímenes Especiales - Lista',
|
|
285
|
-
value: '
|
|
300
|
+
value: 'listarRegimenesEspeciales',
|
|
286
301
|
description: 'Trae un listado entero de los regímenes especiales'
|
|
287
302
|
},
|
|
288
303
|
{
|
|
289
304
|
name: 'Rubros - Obtener',
|
|
290
|
-
value: '
|
|
305
|
+
value: 'listarRubros',
|
|
291
306
|
action: 'Obten el listado de los rubros',
|
|
292
307
|
description: 'Obten el listado completo de todos los rubros de los articulos'
|
|
293
308
|
},
|
|
294
309
|
{
|
|
295
310
|
name: 'Sucursales Físicas - Lista',
|
|
296
|
-
value: '
|
|
311
|
+
value: 'listarSucursales',
|
|
297
312
|
description: 'Obtiene un listado de las sucursales físicas disponibles',
|
|
298
313
|
},
|
|
299
314
|
{
|
|
300
315
|
name: 'Tipo De Comprobante - Lista',
|
|
301
|
-
value: '
|
|
316
|
+
value: 'listarTiposComprobante',
|
|
302
317
|
description: 'Obtiene un listado de todos los tipos de comprobantes'
|
|
303
318
|
},
|
|
304
319
|
{
|
|
305
320
|
name: 'Turno De Entrega - Obtener',
|
|
306
|
-
value: '
|
|
321
|
+
value: 'listarTurnosEntrega',
|
|
307
322
|
description: 'Obtiene el listado total disponible de turnos de entrega'
|
|
308
323
|
},
|
|
309
324
|
{
|
|
310
325
|
name: 'Vendedores - Obtener',
|
|
311
|
-
value: '
|
|
326
|
+
value: 'listarVendedores',
|
|
312
327
|
description: 'Obtiene una lista de todos los vendedores disponibles'
|
|
313
328
|
},
|
|
314
329
|
{
|
|
315
330
|
name: 'Ventas - Generar',
|
|
316
|
-
value: '
|
|
331
|
+
value: 'crearVenta',
|
|
317
332
|
description: 'Genera una venta en base a unos parametros completados'
|
|
318
333
|
}
|
|
319
334
|
],
|
|
320
|
-
default: '
|
|
335
|
+
default: 'verDetallePedidoVenta',
|
|
321
336
|
},
|
|
322
337
|
];
|
|
323
338
|
const getArticulo = [
|
|
@@ -327,7 +342,7 @@ const getArticulo = [
|
|
|
327
342
|
type: 'boolean',
|
|
328
343
|
default: false,
|
|
329
344
|
displayOptions: {
|
|
330
|
-
show: { resource: ['
|
|
345
|
+
show: { resource: ['crearProveedor', 'listarProveedores'] },
|
|
331
346
|
},
|
|
332
347
|
},
|
|
333
348
|
{
|
|
@@ -337,7 +352,7 @@ const getArticulo = [
|
|
|
337
352
|
type: 'json',
|
|
338
353
|
default: {},
|
|
339
354
|
displayOptions: {
|
|
340
|
-
show: { resource: ['
|
|
355
|
+
show: { resource: ['registrarCobro', 'crearPedidoVenta'] },
|
|
341
356
|
},
|
|
342
357
|
},
|
|
343
358
|
{
|
|
@@ -348,7 +363,7 @@ const getArticulo = [
|
|
|
348
363
|
default: '',
|
|
349
364
|
description: 'Lista de artículos en formato JSON',
|
|
350
365
|
displayOptions: {
|
|
351
|
-
show: { resource: ['
|
|
366
|
+
show: { resource: ['crearCompra', 'crearVenta'] },
|
|
352
367
|
},
|
|
353
368
|
},
|
|
354
369
|
{
|
|
@@ -379,7 +394,7 @@ const getArticulo = [
|
|
|
379
394
|
type: 'json',
|
|
380
395
|
default: {},
|
|
381
396
|
displayOptions: {
|
|
382
|
-
show: { resource: ['
|
|
397
|
+
show: { resource: ['registrarCobro'] },
|
|
383
398
|
},
|
|
384
399
|
},
|
|
385
400
|
{
|
|
@@ -393,20 +408,20 @@ const getArticulo = [
|
|
|
393
408
|
displayOptions: {
|
|
394
409
|
show: {
|
|
395
410
|
resource: [
|
|
396
|
-
'
|
|
397
|
-
'
|
|
398
|
-
'
|
|
399
|
-
'
|
|
400
|
-
'
|
|
401
|
-
'
|
|
402
|
-
'
|
|
403
|
-
'
|
|
404
|
-
'
|
|
405
|
-
'
|
|
406
|
-
'
|
|
407
|
-
'
|
|
408
|
-
'
|
|
409
|
-
'
|
|
411
|
+
'crearCompra',
|
|
412
|
+
'listarProductosDisponibles',
|
|
413
|
+
'consultarSaldoCliente',
|
|
414
|
+
'verDetalleSaldoCliente',
|
|
415
|
+
'listarFacturasVentasPorCliente',
|
|
416
|
+
'listarFacturasVenta',
|
|
417
|
+
'listarFacturasCobros',
|
|
418
|
+
'listarPromocionesCliente',
|
|
419
|
+
'listarPedidosVenta',
|
|
420
|
+
'listarOrdenesCompra',
|
|
421
|
+
'listarCobros',
|
|
422
|
+
'listarCompras',
|
|
423
|
+
'crearVenta',
|
|
424
|
+
'listarPedidosVentaFiltrados'
|
|
410
425
|
],
|
|
411
426
|
},
|
|
412
427
|
},
|
|
@@ -421,11 +436,11 @@ const getArticulo = [
|
|
|
421
436
|
displayOptions: {
|
|
422
437
|
show: {
|
|
423
438
|
resource: [
|
|
424
|
-
'
|
|
425
|
-
'
|
|
426
|
-
'
|
|
427
|
-
'
|
|
428
|
-
'
|
|
439
|
+
'crearProveedor',
|
|
440
|
+
'buscarProductoPorCodigo',
|
|
441
|
+
'consultarPrecioProducto',
|
|
442
|
+
'buscarProductoEnSucursal',
|
|
443
|
+
'buscarProductos'
|
|
429
444
|
],
|
|
430
445
|
},
|
|
431
446
|
},
|
|
@@ -441,7 +456,7 @@ const getArticulo = [
|
|
|
441
456
|
displayOptions: {
|
|
442
457
|
show: {
|
|
443
458
|
resource: [
|
|
444
|
-
'
|
|
459
|
+
'buscarClientes', 'crearPedidoVenta'
|
|
445
460
|
],
|
|
446
461
|
},
|
|
447
462
|
},
|
|
@@ -453,14 +468,14 @@ const getArticulo = [
|
|
|
453
468
|
default: '',
|
|
454
469
|
placeholder: 'Codigo de la compra (FCC)',
|
|
455
470
|
description: 'Codigo del comprobante de la compra',
|
|
456
|
-
displayOptions: { show: { resource: ['
|
|
471
|
+
displayOptions: { show: { resource: ['crearCompra'] } },
|
|
457
472
|
},
|
|
458
473
|
{
|
|
459
474
|
displayName: 'Condicion De Venta',
|
|
460
475
|
name: 'idCondicionVenta',
|
|
461
476
|
type: 'number',
|
|
462
477
|
default: '',
|
|
463
|
-
displayOptions: { show: { resource: ['
|
|
478
|
+
displayOptions: { show: { resource: ['crearVenta'] } },
|
|
464
479
|
},
|
|
465
480
|
{
|
|
466
481
|
displayName: 'Condición De Pago',
|
|
@@ -483,7 +498,7 @@ const getArticulo = [
|
|
|
483
498
|
type: 'string',
|
|
484
499
|
typeOptions: { password: true },
|
|
485
500
|
default: '',
|
|
486
|
-
displayOptions: { show: { resource: ['
|
|
501
|
+
displayOptions: { show: { resource: ['verificarCredencialesOperador'] } },
|
|
487
502
|
},
|
|
488
503
|
{
|
|
489
504
|
displayName: 'Cotizacion',
|
|
@@ -500,7 +515,7 @@ const getArticulo = [
|
|
|
500
515
|
default: "",
|
|
501
516
|
displayOptions: {
|
|
502
517
|
show: {
|
|
503
|
-
resource: ['
|
|
518
|
+
resource: ['crearCliente', 'actualizarCliente', 'crearContribuyente'],
|
|
504
519
|
},
|
|
505
520
|
},
|
|
506
521
|
description: 'Información en formato JSON para crear o actualizar un cliente',
|
|
@@ -514,12 +529,13 @@ const getArticulo = [
|
|
|
514
529
|
displayOptions: {
|
|
515
530
|
show: {
|
|
516
531
|
resource: [
|
|
517
|
-
'
|
|
518
|
-
'
|
|
532
|
+
'crearProveedor',
|
|
533
|
+
'crearCliente',
|
|
519
534
|
'buscarContribuyente',
|
|
520
|
-
'
|
|
521
|
-
'
|
|
522
|
-
'
|
|
535
|
+
'crearContribuyente',
|
|
536
|
+
'buscarClientePorCuit',
|
|
537
|
+
'buscarClientes', ,
|
|
538
|
+
'listarProveedores'
|
|
523
539
|
],
|
|
524
540
|
},
|
|
525
541
|
},
|
|
@@ -530,7 +546,7 @@ const getArticulo = [
|
|
|
530
546
|
type: 'json',
|
|
531
547
|
required: true,
|
|
532
548
|
default: '',
|
|
533
|
-
displayOptions: { show: { resource: ['
|
|
549
|
+
displayOptions: { show: { resource: ['sincronizarImagenes'] } },
|
|
534
550
|
},
|
|
535
551
|
{
|
|
536
552
|
displayName: 'Dia De La Semana',
|
|
@@ -538,14 +554,14 @@ const getArticulo = [
|
|
|
538
554
|
type: 'number',
|
|
539
555
|
default: 0,
|
|
540
556
|
description: 'Numero de la semana por el cual filtrar promociones aplicadas (0 es Lunes)',
|
|
541
|
-
displayOptions: { show: { resource: ['
|
|
557
|
+
displayOptions: { show: { resource: ['listarPromocionesCliente'] } },
|
|
542
558
|
},
|
|
543
559
|
{
|
|
544
560
|
displayName: 'DNI',
|
|
545
561
|
name: 'dni',
|
|
546
562
|
type: 'string',
|
|
547
563
|
default: '',
|
|
548
|
-
displayOptions: { show: { resource: ['
|
|
564
|
+
displayOptions: { show: { resource: ['crearCliente'] } },
|
|
549
565
|
},
|
|
550
566
|
{
|
|
551
567
|
displayName: 'Endpoint',
|
|
@@ -562,7 +578,7 @@ const getArticulo = [
|
|
|
562
578
|
name: 'esContado',
|
|
563
579
|
type: 'boolean',
|
|
564
580
|
default: false,
|
|
565
|
-
displayOptions: { show: { resource: ['
|
|
581
|
+
displayOptions: { show: { resource: ['crearVenta'] } },
|
|
566
582
|
},
|
|
567
583
|
{
|
|
568
584
|
displayName: 'Fecha Desde',
|
|
@@ -572,17 +588,40 @@ const getArticulo = [
|
|
|
572
588
|
displayOptions: {
|
|
573
589
|
show: {
|
|
574
590
|
resource: [
|
|
575
|
-
'
|
|
576
|
-
'
|
|
577
|
-
'
|
|
578
|
-
'
|
|
579
|
-
'
|
|
580
|
-
'
|
|
581
|
-
'
|
|
582
|
-
'
|
|
583
|
-
'
|
|
584
|
-
'
|
|
585
|
-
'
|
|
591
|
+
'crearCompra',
|
|
592
|
+
'listarFacturasVentasPorCliente',
|
|
593
|
+
'listarFacturasVenta',
|
|
594
|
+
'listarFacturasCobros',
|
|
595
|
+
'listarPedidosVenta',
|
|
596
|
+
'listarPedidosVentaFiltrados',
|
|
597
|
+
'listarOrdenesCompra',
|
|
598
|
+
'listarCobros',
|
|
599
|
+
'listarCompras',
|
|
600
|
+
'crearVenta',
|
|
601
|
+
'listarOrdenesCompra',
|
|
602
|
+
'estadisticaVentaRanking'
|
|
603
|
+
],
|
|
604
|
+
},
|
|
605
|
+
},
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
displayName: 'Fecha Hasta',
|
|
609
|
+
name: 'endDate',
|
|
610
|
+
type: 'dateTime',
|
|
611
|
+
default: '',
|
|
612
|
+
displayOptions: {
|
|
613
|
+
show: {
|
|
614
|
+
resource: [
|
|
615
|
+
'listarFacturasVentasPorCliente',
|
|
616
|
+
'listarFacturasVenta',
|
|
617
|
+
'listarFacturasCobros',
|
|
618
|
+
'listarPedidosVenta',
|
|
619
|
+
'listarPedidosVentaFiltrados',
|
|
620
|
+
'listarOrdenesCompra',
|
|
621
|
+
'listarCobros',
|
|
622
|
+
'listarCompras',
|
|
623
|
+
'listarOrdenesCompra',
|
|
624
|
+
'estadisticaVentaRanking'
|
|
586
625
|
],
|
|
587
626
|
},
|
|
588
627
|
},
|
|
@@ -595,9 +634,47 @@ const getArticulo = [
|
|
|
595
634
|
default: undefined,
|
|
596
635
|
description: 'Parametro fecha del body para las solicitudes',
|
|
597
636
|
displayOptions: {
|
|
598
|
-
show: { resource: ['
|
|
637
|
+
show: { resource: ['listarProductosDisponibles', 'listarPromocionesCliente', 'crearCompra', 'crearPedidoVenta'] },
|
|
599
638
|
},
|
|
600
639
|
},
|
|
640
|
+
{
|
|
641
|
+
displayName: 'Tipo De Ranking',
|
|
642
|
+
name: 'tipoDeRanking',
|
|
643
|
+
type: 'options',
|
|
644
|
+
default: 'none',
|
|
645
|
+
description: 'Tipo de ranking a filtrar',
|
|
646
|
+
options: [
|
|
647
|
+
{
|
|
648
|
+
name: 'Ninguno',
|
|
649
|
+
value: 'none'
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
name: 'Clientes',
|
|
653
|
+
value: 'esRankingClientes'
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
name: 'Artículos',
|
|
657
|
+
value: 'esRankingArticulos'
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
name: 'Vendedores',
|
|
661
|
+
value: 'esRankingVendedores'
|
|
662
|
+
}
|
|
663
|
+
],
|
|
664
|
+
displayOptions: {
|
|
665
|
+
show: { resource: ['estadisticaVentaRanking'] }
|
|
666
|
+
}
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
displayName: 'Ordenar Ascendentemente',
|
|
670
|
+
name: 'orderAsc',
|
|
671
|
+
type: 'boolean',
|
|
672
|
+
default: false,
|
|
673
|
+
description: 'Whether to order the sales statistics in ascending mode',
|
|
674
|
+
displayOptions: {
|
|
675
|
+
show: { resource: ['estadisticaVentaRanking'] }
|
|
676
|
+
}
|
|
677
|
+
},
|
|
601
678
|
{
|
|
602
679
|
displayName: 'Vendedor ID',
|
|
603
680
|
name: 'vendedorID',
|
|
@@ -611,6 +688,38 @@ const getArticulo = [
|
|
|
611
688
|
}
|
|
612
689
|
}
|
|
613
690
|
},
|
|
691
|
+
{
|
|
692
|
+
displayName: 'Tipo De Orden',
|
|
693
|
+
name: 'ventaRankingOrderBy',
|
|
694
|
+
type: 'options',
|
|
695
|
+
default: 'CantidadUnidadNivel0',
|
|
696
|
+
description: 'Tipo de orden para obtener el ranking',
|
|
697
|
+
options: [
|
|
698
|
+
{
|
|
699
|
+
name: 'Cantidad Unidad Nivel 0',
|
|
700
|
+
value: 'CantidadUnidadNivel0'
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
name: 'Cantidad Unidad Nivel 1',
|
|
704
|
+
value: 'CantidadUnidadNivel1'
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
name: 'Cantidad Unidad Nivel 2',
|
|
708
|
+
value: 'CantidadUnidadNivel2'
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
name: 'Importe Total Final',
|
|
712
|
+
value: 'ImporteTotalFinal'
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
name: 'Importe Total Neto',
|
|
716
|
+
value: 'ImporteTotalNeto'
|
|
717
|
+
}
|
|
718
|
+
],
|
|
719
|
+
displayOptions: {
|
|
720
|
+
show: { resource: ['estadisticaVentaRanking'] }
|
|
721
|
+
}
|
|
722
|
+
},
|
|
614
723
|
{
|
|
615
724
|
displayName: 'Fecha De Entrega',
|
|
616
725
|
name: 'deliveryDate',
|
|
@@ -644,33 +753,12 @@ const getArticulo = [
|
|
|
644
753
|
show: { resource: ['crearPedidoVenta'] },
|
|
645
754
|
},
|
|
646
755
|
},
|
|
647
|
-
{
|
|
648
|
-
displayName: 'Fecha Hasta',
|
|
649
|
-
name: 'endDate',
|
|
650
|
-
type: 'dateTime',
|
|
651
|
-
default: '',
|
|
652
|
-
displayOptions: {
|
|
653
|
-
show: {
|
|
654
|
-
resource: [
|
|
655
|
-
'obtenerFacturasPedidosVentasPorID',
|
|
656
|
-
'obtenerFacturasPedidosVentas',
|
|
657
|
-
'obtenerFacturasCobros',
|
|
658
|
-
'obtenerPedidosDeVenta',
|
|
659
|
-
'obtenerPedidosDeVentaFiltrados',
|
|
660
|
-
'obtenerOrdenesCompra',
|
|
661
|
-
'obtenerCobros',
|
|
662
|
-
'obtenerCompras',
|
|
663
|
-
'obtenerOrdenesCompras'
|
|
664
|
-
],
|
|
665
|
-
},
|
|
666
|
-
},
|
|
667
|
-
},
|
|
668
756
|
{
|
|
669
757
|
displayName: 'Fecha Modificación Desde',
|
|
670
758
|
name: 'dateModified',
|
|
671
759
|
type: 'dateTime',
|
|
672
760
|
default: '',
|
|
673
|
-
displayOptions: { show: { resource: ['
|
|
761
|
+
displayOptions: { show: { resource: ['listarProductosDisponibles'] } },
|
|
674
762
|
},
|
|
675
763
|
{
|
|
676
764
|
displayName: 'Fecha Precio Actualizado Desde',
|
|
@@ -678,9 +766,18 @@ const getArticulo = [
|
|
|
678
766
|
type: 'dateTime',
|
|
679
767
|
default: '',
|
|
680
768
|
displayOptions: {
|
|
681
|
-
show: { resource: ['
|
|
769
|
+
show: { resource: ['consultarSaldoCliente', 'verDetalleSaldoCliente'] },
|
|
682
770
|
},
|
|
683
771
|
},
|
|
772
|
+
{
|
|
773
|
+
displayName: 'Cantidad De Items',
|
|
774
|
+
name: 'cantidadDeItems',
|
|
775
|
+
type: 'number',
|
|
776
|
+
default: 1,
|
|
777
|
+
displayOptions: {
|
|
778
|
+
show: { resource: ['estadisticaVentaRanking'] }
|
|
779
|
+
}
|
|
780
|
+
},
|
|
684
781
|
{
|
|
685
782
|
displayName: 'Forma De Pago Proveedor',
|
|
686
783
|
name: 'formaPagoProveedor',
|
|
@@ -697,7 +794,7 @@ const getArticulo = [
|
|
|
697
794
|
placeholder: 'Ej. 27231',
|
|
698
795
|
description: 'Identificador unico con el cual hacer solicitudes a la API',
|
|
699
796
|
displayOptions: {
|
|
700
|
-
show: { resource: ['
|
|
797
|
+
show: { resource: ['verDetallePedidoVenta', 'verDetalleRegimenEspecial'] },
|
|
701
798
|
},
|
|
702
799
|
},
|
|
703
800
|
{
|
|
@@ -706,7 +803,7 @@ const getArticulo = [
|
|
|
706
803
|
type: 'string',
|
|
707
804
|
default: '',
|
|
708
805
|
displayOptions: {
|
|
709
|
-
show: { resource: ['
|
|
806
|
+
show: { resource: ['descargarImagenesProductos', 'buscarProductoPorCodigo', 'buscarProductoEnSucursal'] },
|
|
710
807
|
},
|
|
711
808
|
},
|
|
712
809
|
{
|
|
@@ -714,7 +811,7 @@ const getArticulo = [
|
|
|
714
811
|
name: 'bonificacion',
|
|
715
812
|
type: 'number',
|
|
716
813
|
default: 0,
|
|
717
|
-
displayOptions: { show: { resource: ['
|
|
814
|
+
displayOptions: { show: { resource: ['crearVenta'] } },
|
|
718
815
|
},
|
|
719
816
|
{
|
|
720
817
|
displayName: 'ID De Cobro',
|
|
@@ -723,14 +820,14 @@ const getArticulo = [
|
|
|
723
820
|
type: 'number',
|
|
724
821
|
default: 0,
|
|
725
822
|
description: 'ID del cobro',
|
|
726
|
-
displayOptions: { show: { resource: ['
|
|
823
|
+
displayOptions: { show: { resource: ['listarCobros'] } },
|
|
727
824
|
},
|
|
728
825
|
{
|
|
729
826
|
displayName: 'ID De La Compra',
|
|
730
827
|
name: 'idCompra',
|
|
731
828
|
type: 'number',
|
|
732
829
|
default: '',
|
|
733
|
-
displayOptions: { show: { resource: ['
|
|
830
|
+
displayOptions: { show: { resource: ['listarCompras', 'verDetalleOrdenCompra'] } },
|
|
734
831
|
},
|
|
735
832
|
{
|
|
736
833
|
displayName: 'ID Del Estado',
|
|
@@ -738,7 +835,7 @@ const getArticulo = [
|
|
|
738
835
|
type: 'number',
|
|
739
836
|
default: false,
|
|
740
837
|
description: 'Número del estado del pedido',
|
|
741
|
-
displayOptions: { show: { resource: ['
|
|
838
|
+
displayOptions: { show: { resource: ['listarPedidosVenta', 'obtenerOrdenesCompra', 'listarPedidosVentaFiltrados'] } },
|
|
742
839
|
},
|
|
743
840
|
{
|
|
744
841
|
displayName: 'ID Del Operador Compra',
|
|
@@ -754,7 +851,7 @@ const getArticulo = [
|
|
|
754
851
|
default: '',
|
|
755
852
|
placeholder: '2',
|
|
756
853
|
description: 'ID Del proveedor de la compra',
|
|
757
|
-
displayOptions: { show: { resource: ['
|
|
854
|
+
displayOptions: { show: { resource: ['crearCompra'] } },
|
|
758
855
|
},
|
|
759
856
|
{
|
|
760
857
|
displayName: 'ID Del Tipo De Comprobante',
|
|
@@ -763,7 +860,7 @@ const getArticulo = [
|
|
|
763
860
|
default: '',
|
|
764
861
|
placeholder: '1',
|
|
765
862
|
description: 'ID del tipo de comprobante de la factura',
|
|
766
|
-
displayOptions: { show: { resource: ['
|
|
863
|
+
displayOptions: { show: { resource: ['crearCompra', 'listarFacturasVenta'] } },
|
|
767
864
|
},
|
|
768
865
|
{
|
|
769
866
|
displayName: 'ID Del Tipo De Comprobante',
|
|
@@ -772,7 +869,7 @@ const getArticulo = [
|
|
|
772
869
|
default: '',
|
|
773
870
|
placeholder: '1',
|
|
774
871
|
description: 'ID del tipo de comprobante de la venta',
|
|
775
|
-
displayOptions: { show: { resource: ['
|
|
872
|
+
displayOptions: { show: { resource: ['listarFacturasVenta'] } }
|
|
776
873
|
},
|
|
777
874
|
{
|
|
778
875
|
displayName: 'ID Cuenta Corriente',
|
|
@@ -781,49 +878,49 @@ const getArticulo = [
|
|
|
781
878
|
default: '',
|
|
782
879
|
placeholder: '1',
|
|
783
880
|
description: 'ID del cliente cuenta corriente del comprobante de venta',
|
|
784
|
-
displayOptions: { show: { resource: ['
|
|
881
|
+
displayOptions: { show: { resource: ['listarFacturasVenta'] } }
|
|
785
882
|
},
|
|
786
883
|
{
|
|
787
884
|
displayName: 'ID Del Vendedor',
|
|
788
885
|
name: 'idVendedor',
|
|
789
886
|
type: 'number',
|
|
790
887
|
default: '',
|
|
791
|
-
displayOptions: { show: { resource: ['
|
|
888
|
+
displayOptions: { show: { resource: ['crearVenta', 'listarFacturasVenta'] } },
|
|
792
889
|
},
|
|
793
890
|
{
|
|
794
891
|
displayName: 'ID De La Venta',
|
|
795
892
|
name: 'ventaId',
|
|
796
893
|
type: 'number',
|
|
797
894
|
default: '',
|
|
798
|
-
displayOptions: { show: { resource: ['
|
|
895
|
+
displayOptions: { show: { resource: ['listarFacturasVenta'] } },
|
|
799
896
|
},
|
|
800
897
|
{
|
|
801
898
|
displayName: 'ID De La Sucursal',
|
|
802
899
|
name: 'sucursalId',
|
|
803
900
|
type: 'number',
|
|
804
901
|
default: '',
|
|
805
|
-
displayOptions: { show: { resource: ['
|
|
902
|
+
displayOptions: { show: { resource: ['listarFacturasVenta'] } },
|
|
806
903
|
},
|
|
807
904
|
{
|
|
808
905
|
displayName: 'Incluir Pedidos Anulados',
|
|
809
906
|
name: 'incluirAnulados',
|
|
810
907
|
type: 'boolean',
|
|
811
908
|
default: false,
|
|
812
|
-
displayOptions: { show: { resource: ['
|
|
909
|
+
displayOptions: { show: { resource: ['listarFacturasVenta'] } },
|
|
813
910
|
},
|
|
814
911
|
{
|
|
815
912
|
displayName: 'ID Del Canal De Venta',
|
|
816
913
|
name: 'canalVentaId',
|
|
817
914
|
type: 'number',
|
|
818
915
|
default: '',
|
|
819
|
-
displayOptions: { show: { resource: ['
|
|
916
|
+
displayOptions: { show: { resource: ['listarFacturasVenta'] } },
|
|
820
917
|
},
|
|
821
918
|
{
|
|
822
919
|
displayName: 'ID De La Division Empresa',
|
|
823
920
|
name: 'divisionEmpresaId',
|
|
824
921
|
type: 'number',
|
|
825
922
|
default: '',
|
|
826
|
-
displayOptions: { show: { resource: ['
|
|
923
|
+
displayOptions: { show: { resource: ['listarFacturasVenta'] } },
|
|
827
924
|
},
|
|
828
925
|
{
|
|
829
926
|
displayName: 'ID Usuario Creador',
|
|
@@ -831,7 +928,7 @@ const getArticulo = [
|
|
|
831
928
|
type: 'number',
|
|
832
929
|
description: 'ID Del usuario que creo el comprobante de venta',
|
|
833
930
|
default: '',
|
|
834
|
-
displayOptions: { show: { resource: ['
|
|
931
|
+
displayOptions: { show: { resource: ['listarFacturasVenta'] } },
|
|
835
932
|
},
|
|
836
933
|
{
|
|
837
934
|
displayName: 'ID Del Transporte',
|
|
@@ -839,7 +936,7 @@ const getArticulo = [
|
|
|
839
936
|
type: 'number',
|
|
840
937
|
description: 'ID del transporte asociado al comprobante de venta',
|
|
841
938
|
default: '',
|
|
842
|
-
displayOptions: { show: { resource: ['
|
|
939
|
+
displayOptions: { show: { resource: ['listarFacturasVenta'] } },
|
|
843
940
|
},
|
|
844
941
|
{
|
|
845
942
|
displayName: 'ID Pais',
|
|
@@ -847,15 +944,15 @@ const getArticulo = [
|
|
|
847
944
|
type: 'string',
|
|
848
945
|
default: '',
|
|
849
946
|
description: 'ID del país por la cual se buscarán las provincias',
|
|
850
|
-
displayOptions: { show: { resource: ['
|
|
947
|
+
displayOptions: { show: { resource: ['listarProvincias', 'crearProveedor', 'listarProveedores'] } },
|
|
851
948
|
},
|
|
852
949
|
{
|
|
853
950
|
displayName: 'ID Provincia',
|
|
854
951
|
name: 'idProvincia',
|
|
855
952
|
type: 'string',
|
|
856
953
|
default: '',
|
|
857
|
-
description: 'ID de la provincia por la cual se buscarán
|
|
858
|
-
displayOptions: { show: { resource: ['
|
|
954
|
+
description: 'ID de la provincia por la cual se buscarán la información',
|
|
955
|
+
displayOptions: { show: { resource: ['listarDepartamentos', 'crearProveedor', 'listarProveedores'] } },
|
|
859
956
|
},
|
|
860
957
|
{
|
|
861
958
|
displayName: 'ID Sucursal Física',
|
|
@@ -865,7 +962,7 @@ const getArticulo = [
|
|
|
865
962
|
description: 'The ID of the physical branch to filter stock (optional)',
|
|
866
963
|
displayOptions: {
|
|
867
964
|
show: {
|
|
868
|
-
resource: ['searchArticleBySKU', '
|
|
965
|
+
resource: ['searchArticleBySKU', 'buscarProductoEnSucursal', 'crearCompra'],
|
|
869
966
|
},
|
|
870
967
|
},
|
|
871
968
|
},
|
|
@@ -874,7 +971,7 @@ const getArticulo = [
|
|
|
874
971
|
name: 'IdSucursalFisica',
|
|
875
972
|
type: 'string',
|
|
876
973
|
default: '',
|
|
877
|
-
displayOptions: { show: { resource: ['
|
|
974
|
+
displayOptions: { show: { resource: ['listarProductosPorSucursal'] } },
|
|
878
975
|
},
|
|
879
976
|
{
|
|
880
977
|
displayName: 'ID Valor Efectivo',
|
|
@@ -919,7 +1016,7 @@ const getArticulo = [
|
|
|
919
1016
|
type: 'number',
|
|
920
1017
|
default: '',
|
|
921
1018
|
description: 'ID de la lista para buscar los precios de los articulos',
|
|
922
|
-
displayOptions: { show: { resource: ['
|
|
1019
|
+
displayOptions: { show: { resource: ['consultarPrecioProducto', 'crearVenta'] } },
|
|
923
1020
|
},
|
|
924
1021
|
{
|
|
925
1022
|
displayName: 'Letra Del Documento De La Compra',
|
|
@@ -928,7 +1025,7 @@ const getArticulo = [
|
|
|
928
1025
|
default: '',
|
|
929
1026
|
placeholder: 'A',
|
|
930
1027
|
description: 'Letra del documento de la compra de la factura',
|
|
931
|
-
displayOptions: { show: { resource: ['
|
|
1028
|
+
displayOptions: { show: { resource: ['crearCompra'] } },
|
|
932
1029
|
},
|
|
933
1030
|
{
|
|
934
1031
|
displayName: 'Nombre Del Tipo De Comprobante',
|
|
@@ -937,7 +1034,7 @@ const getArticulo = [
|
|
|
937
1034
|
default: '',
|
|
938
1035
|
placeholder: 'Factura de compras',
|
|
939
1036
|
description: 'Nombre del tipo de comprobante de la factura',
|
|
940
|
-
displayOptions: { show: { resource: ['
|
|
1037
|
+
displayOptions: { show: { resource: ['crearCompra'] } },
|
|
941
1038
|
},
|
|
942
1039
|
{
|
|
943
1040
|
displayName: 'Nombre Del Articulo',
|
|
@@ -945,7 +1042,7 @@ const getArticulo = [
|
|
|
945
1042
|
type: 'string',
|
|
946
1043
|
default: '',
|
|
947
1044
|
placeholder: 'Alfajores',
|
|
948
|
-
displayOptions: { show: { resource: ['
|
|
1045
|
+
displayOptions: { show: { resource: ['buscarProductos', 'buscarProductoEnSucursal'] } },
|
|
949
1046
|
description: 'El nombre del producto a buscar',
|
|
950
1047
|
},
|
|
951
1048
|
{
|
|
@@ -955,7 +1052,7 @@ const getArticulo = [
|
|
|
955
1052
|
default: '',
|
|
956
1053
|
placeholder: '1',
|
|
957
1054
|
description: 'Numero del documento de la compra de la factura',
|
|
958
|
-
displayOptions: { show: { resource: ['
|
|
1055
|
+
displayOptions: { show: { resource: ['crearCompra'] } },
|
|
959
1056
|
},
|
|
960
1057
|
{
|
|
961
1058
|
displayName: 'Observaciones',
|
|
@@ -971,7 +1068,7 @@ const getArticulo = [
|
|
|
971
1068
|
required: true,
|
|
972
1069
|
default: '',
|
|
973
1070
|
description: 'ID del proveedor usado para buscar dentro del sistema',
|
|
974
|
-
displayOptions: { show: { resource: ['
|
|
1071
|
+
displayOptions: { show: { resource: ['buscarProveedor', 'listarOrdenesCompra'] } },
|
|
975
1072
|
},
|
|
976
1073
|
{
|
|
977
1074
|
displayName: 'Punto De Venta',
|
|
@@ -989,7 +1086,7 @@ const getArticulo = [
|
|
|
989
1086
|
default: '',
|
|
990
1087
|
description: 'Razón social del cliente para buscar',
|
|
991
1088
|
displayOptions: {
|
|
992
|
-
show: { resource: ['buscarContribuyente', '
|
|
1089
|
+
show: { resource: ['buscarContribuyente', 'buscarClientes', 'crearProveedor', 'crearPedidoVenta', 'listarProveedores'] },
|
|
993
1090
|
},
|
|
994
1091
|
},
|
|
995
1092
|
{
|
|
@@ -1007,7 +1104,7 @@ const getArticulo = [
|
|
|
1007
1104
|
type: 'string',
|
|
1008
1105
|
default: '',
|
|
1009
1106
|
description: 'Client ID used to search the articles',
|
|
1010
|
-
displayOptions: { show: { resource: ['
|
|
1107
|
+
displayOptions: { show: { resource: ['listarCategorias'] } },
|
|
1011
1108
|
},
|
|
1012
1109
|
{
|
|
1013
1110
|
displayName: 'Sucursales Físicas - IDs Lista',
|
|
@@ -1016,7 +1113,7 @@ const getArticulo = [
|
|
|
1016
1113
|
required: true,
|
|
1017
1114
|
default: '7345',
|
|
1018
1115
|
description: 'Physical branch ID separated by comma',
|
|
1019
|
-
displayOptions: { show: { resource: ['
|
|
1116
|
+
displayOptions: { show: { resource: ['consultarStock'] } },
|
|
1020
1117
|
},
|
|
1021
1118
|
{
|
|
1022
1119
|
displayName: 'Ultima Modificacion Imagenes',
|
|
@@ -1024,14 +1121,125 @@ const getArticulo = [
|
|
|
1024
1121
|
type: 'json',
|
|
1025
1122
|
required: true,
|
|
1026
1123
|
default: '',
|
|
1027
|
-
displayOptions: { show: { resource: ['
|
|
1124
|
+
displayOptions: { show: { resource: ['sincronizarImagenes'] } },
|
|
1028
1125
|
},
|
|
1029
1126
|
{
|
|
1030
1127
|
displayName: 'Usuario',
|
|
1031
1128
|
name: 'username',
|
|
1032
1129
|
type: 'string',
|
|
1033
1130
|
default: '',
|
|
1034
|
-
displayOptions: { show: { resource: ['
|
|
1131
|
+
displayOptions: { show: { resource: ['verificarCredencialesOperador'] } },
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
displayName: 'Código Desde',
|
|
1135
|
+
name: 'codigoDesde',
|
|
1136
|
+
type: 'string',
|
|
1137
|
+
default: '',
|
|
1138
|
+
displayOptions: {
|
|
1139
|
+
show: {
|
|
1140
|
+
resource: ['listarProveedores']
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1143
|
+
},
|
|
1144
|
+
{
|
|
1145
|
+
displayName: 'Código Hasta',
|
|
1146
|
+
name: 'codigoHasta',
|
|
1147
|
+
type: 'string',
|
|
1148
|
+
default: '',
|
|
1149
|
+
displayOptions: {
|
|
1150
|
+
show: {
|
|
1151
|
+
resource: ['listarProveedores']
|
|
1152
|
+
}
|
|
1153
|
+
}
|
|
1154
|
+
},
|
|
1155
|
+
{
|
|
1156
|
+
displayName: 'Dirección',
|
|
1157
|
+
name: 'direccion',
|
|
1158
|
+
type: 'string',
|
|
1159
|
+
default: '',
|
|
1160
|
+
displayOptions: {
|
|
1161
|
+
show: {
|
|
1162
|
+
resource: ['listarProveedores']
|
|
1163
|
+
}
|
|
1164
|
+
}
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
displayName: 'Localidad',
|
|
1168
|
+
name: 'localidad',
|
|
1169
|
+
type: 'string',
|
|
1170
|
+
default: '',
|
|
1171
|
+
displayOptions: {
|
|
1172
|
+
show: {
|
|
1173
|
+
resource: ['listarProveedores']
|
|
1174
|
+
}
|
|
1175
|
+
}
|
|
1176
|
+
},
|
|
1177
|
+
{
|
|
1178
|
+
displayName: 'Teléfono',
|
|
1179
|
+
name: 'telefono',
|
|
1180
|
+
type: 'number',
|
|
1181
|
+
default: '',
|
|
1182
|
+
displayOptions: {
|
|
1183
|
+
show: {
|
|
1184
|
+
resource: ['listarProveedores']
|
|
1185
|
+
}
|
|
1186
|
+
}
|
|
1187
|
+
},
|
|
1188
|
+
{
|
|
1189
|
+
displayName: 'Teléfono Alternativo',
|
|
1190
|
+
name: 'telefonoAlt',
|
|
1191
|
+
type: 'string',
|
|
1192
|
+
default: '',
|
|
1193
|
+
displayOptions: {
|
|
1194
|
+
show: {
|
|
1195
|
+
resource: ['listarProveedores']
|
|
1196
|
+
}
|
|
1197
|
+
}
|
|
1198
|
+
},
|
|
1199
|
+
{
|
|
1200
|
+
displayName: 'Código Postal',
|
|
1201
|
+
name: 'codigoPostal',
|
|
1202
|
+
type: 'number',
|
|
1203
|
+
default: '',
|
|
1204
|
+
displayOptions: {
|
|
1205
|
+
show: {
|
|
1206
|
+
resource: ['listarProveedores']
|
|
1207
|
+
}
|
|
1208
|
+
}
|
|
1209
|
+
},
|
|
1210
|
+
{
|
|
1211
|
+
displayName: 'Correo',
|
|
1212
|
+
name: 'email',
|
|
1213
|
+
type: 'string',
|
|
1214
|
+
placeholder: 'name@email.com',
|
|
1215
|
+
default: '',
|
|
1216
|
+
displayOptions: {
|
|
1217
|
+
show: {
|
|
1218
|
+
resource: ['listarProveedores']
|
|
1219
|
+
}
|
|
1220
|
+
}
|
|
1221
|
+
},
|
|
1222
|
+
{
|
|
1223
|
+
displayName: 'ID Clase Proveedor',
|
|
1224
|
+
name: 'idClaseProveedor',
|
|
1225
|
+
type: 'number',
|
|
1226
|
+
default: '',
|
|
1227
|
+
displayOptions: {
|
|
1228
|
+
show: {
|
|
1229
|
+
resource: ['listarProveedores']
|
|
1230
|
+
}
|
|
1231
|
+
}
|
|
1232
|
+
},
|
|
1233
|
+
{
|
|
1234
|
+
displayName: 'Fecha Actualización Desde',
|
|
1235
|
+
name: 'fechaActualizacionDesde',
|
|
1236
|
+
type: 'dateTime',
|
|
1237
|
+
default: '',
|
|
1238
|
+
displayOptions: {
|
|
1239
|
+
show: {
|
|
1240
|
+
resource: ['listarProveedores']
|
|
1241
|
+
}
|
|
1242
|
+
}
|
|
1035
1243
|
},
|
|
1036
1244
|
];
|
|
1037
1245
|
exports.CentumFields = [...getArticulo];
|
|
@@ -1096,8 +1304,8 @@ exports.HttpOptions = [
|
|
|
1096
1304
|
displayOptions: {
|
|
1097
1305
|
show: {
|
|
1098
1306
|
resource: [
|
|
1099
|
-
'
|
|
1100
|
-
'
|
|
1307
|
+
'listarClientes',
|
|
1308
|
+
'listarTodosLosProductos'
|
|
1101
1309
|
],
|
|
1102
1310
|
},
|
|
1103
1311
|
},
|