n8n-nodes-centum 0.2.27 → 0.2.29
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 +1124 -1051
- package/dist/nodes/Centum/Centum.node.js.map +1 -1
- package/dist/nodes/Centum/CentumDescription.js +251 -160
- package/dist/nodes/Centum/CentumDescription.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,97 @@ 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
|
},
|
|
273
283
|
{
|
|
274
284
|
name: 'Provincias - Lista',
|
|
275
|
-
value: '
|
|
285
|
+
value: 'listarProvincias',
|
|
276
286
|
description: 'Obtiene un listado de provincias, normalmente filtrado por país'
|
|
277
287
|
},
|
|
278
288
|
{
|
|
279
289
|
name: 'Regímenes Especiales - ID',
|
|
280
|
-
value: '
|
|
290
|
+
value: 'verDetalleRegimenEspecial',
|
|
281
291
|
description: 'Trae un listado entero de los regímenes especiales'
|
|
282
292
|
},
|
|
283
293
|
{
|
|
284
294
|
name: 'Regímenes Especiales - Lista',
|
|
285
|
-
value: '
|
|
295
|
+
value: 'listarRegimenesEspeciales',
|
|
286
296
|
description: 'Trae un listado entero de los regímenes especiales'
|
|
287
297
|
},
|
|
288
298
|
{
|
|
289
299
|
name: 'Rubros - Obtener',
|
|
290
|
-
value: '
|
|
300
|
+
value: 'listarRubros',
|
|
291
301
|
action: 'Obten el listado de los rubros',
|
|
292
302
|
description: 'Obten el listado completo de todos los rubros de los articulos'
|
|
293
303
|
},
|
|
294
304
|
{
|
|
295
305
|
name: 'Sucursales Físicas - Lista',
|
|
296
|
-
value: '
|
|
306
|
+
value: 'listarSucursales',
|
|
297
307
|
description: 'Obtiene un listado de las sucursales físicas disponibles',
|
|
298
308
|
},
|
|
299
309
|
{
|
|
300
310
|
name: 'Tipo De Comprobante - Lista',
|
|
301
|
-
value: '
|
|
311
|
+
value: 'listarTiposComprobante',
|
|
302
312
|
description: 'Obtiene un listado de todos los tipos de comprobantes'
|
|
303
313
|
},
|
|
304
314
|
{
|
|
305
315
|
name: 'Turno De Entrega - Obtener',
|
|
306
|
-
value: '
|
|
316
|
+
value: 'listarTurnosEntrega',
|
|
307
317
|
description: 'Obtiene el listado total disponible de turnos de entrega'
|
|
308
318
|
},
|
|
309
319
|
{
|
|
310
320
|
name: 'Vendedores - Obtener',
|
|
311
|
-
value: '
|
|
321
|
+
value: 'listarVendedores',
|
|
312
322
|
description: 'Obtiene una lista de todos los vendedores disponibles'
|
|
313
323
|
},
|
|
314
324
|
{
|
|
315
325
|
name: 'Ventas - Generar',
|
|
316
|
-
value: '
|
|
326
|
+
value: 'crearVenta',
|
|
317
327
|
description: 'Genera una venta en base a unos parametros completados'
|
|
318
328
|
}
|
|
319
329
|
],
|
|
320
|
-
default: '
|
|
330
|
+
default: 'verDetallePedidoVenta',
|
|
321
331
|
},
|
|
322
332
|
];
|
|
323
333
|
const getArticulo = [
|
|
@@ -327,7 +337,7 @@ const getArticulo = [
|
|
|
327
337
|
type: 'boolean',
|
|
328
338
|
default: false,
|
|
329
339
|
displayOptions: {
|
|
330
|
-
show: { resource: ['
|
|
340
|
+
show: { resource: ['crearProveedor'] },
|
|
331
341
|
},
|
|
332
342
|
},
|
|
333
343
|
{
|
|
@@ -337,7 +347,7 @@ const getArticulo = [
|
|
|
337
347
|
type: 'json',
|
|
338
348
|
default: {},
|
|
339
349
|
displayOptions: {
|
|
340
|
-
show: { resource: ['
|
|
350
|
+
show: { resource: ['registrarCobro', 'crearPedidoVenta'] },
|
|
341
351
|
},
|
|
342
352
|
},
|
|
343
353
|
{
|
|
@@ -348,7 +358,7 @@ const getArticulo = [
|
|
|
348
358
|
default: '',
|
|
349
359
|
description: 'Lista de artículos en formato JSON',
|
|
350
360
|
displayOptions: {
|
|
351
|
-
show: { resource: ['
|
|
361
|
+
show: { resource: ['crearCompra', 'crearVenta'] },
|
|
352
362
|
},
|
|
353
363
|
},
|
|
354
364
|
{
|
|
@@ -379,7 +389,7 @@ const getArticulo = [
|
|
|
379
389
|
type: 'json',
|
|
380
390
|
default: {},
|
|
381
391
|
displayOptions: {
|
|
382
|
-
show: { resource: ['
|
|
392
|
+
show: { resource: ['registrarCobro'] },
|
|
383
393
|
},
|
|
384
394
|
},
|
|
385
395
|
{
|
|
@@ -393,20 +403,20 @@ const getArticulo = [
|
|
|
393
403
|
displayOptions: {
|
|
394
404
|
show: {
|
|
395
405
|
resource: [
|
|
396
|
-
'
|
|
397
|
-
'
|
|
398
|
-
'
|
|
399
|
-
'
|
|
400
|
-
'
|
|
401
|
-
'
|
|
402
|
-
'
|
|
403
|
-
'
|
|
404
|
-
'
|
|
405
|
-
'
|
|
406
|
-
'
|
|
407
|
-
'
|
|
408
|
-
'
|
|
409
|
-
'
|
|
406
|
+
'crearCompra',
|
|
407
|
+
'listarProductosDisponibles',
|
|
408
|
+
'consultarSaldoCliente',
|
|
409
|
+
'verDetalleSaldoCliente',
|
|
410
|
+
'listarFacturasVentasPorCliente',
|
|
411
|
+
'listarFacturasVenta',
|
|
412
|
+
'listarFacturasCobros',
|
|
413
|
+
'listarPromocionesCliente',
|
|
414
|
+
'listarPedidosVenta',
|
|
415
|
+
'listarOrdenesCompra',
|
|
416
|
+
'listarCobros',
|
|
417
|
+
'listarCompras',
|
|
418
|
+
'crearVenta',
|
|
419
|
+
'listarPedidosVentaFiltrados'
|
|
410
420
|
],
|
|
411
421
|
},
|
|
412
422
|
},
|
|
@@ -421,11 +431,11 @@ const getArticulo = [
|
|
|
421
431
|
displayOptions: {
|
|
422
432
|
show: {
|
|
423
433
|
resource: [
|
|
424
|
-
'
|
|
425
|
-
'
|
|
426
|
-
'
|
|
427
|
-
'
|
|
428
|
-
'
|
|
434
|
+
'crearProveedor',
|
|
435
|
+
'buscarProductoPorCodigo',
|
|
436
|
+
'consultarPrecioProducto',
|
|
437
|
+
'buscarProductoEnSucursal',
|
|
438
|
+
'buscarProductos'
|
|
429
439
|
],
|
|
430
440
|
},
|
|
431
441
|
},
|
|
@@ -441,7 +451,7 @@ const getArticulo = [
|
|
|
441
451
|
displayOptions: {
|
|
442
452
|
show: {
|
|
443
453
|
resource: [
|
|
444
|
-
'
|
|
454
|
+
'buscarClientes', 'crearPedidoVenta'
|
|
445
455
|
],
|
|
446
456
|
},
|
|
447
457
|
},
|
|
@@ -453,14 +463,14 @@ const getArticulo = [
|
|
|
453
463
|
default: '',
|
|
454
464
|
placeholder: 'Codigo de la compra (FCC)',
|
|
455
465
|
description: 'Codigo del comprobante de la compra',
|
|
456
|
-
displayOptions: { show: { resource: ['
|
|
466
|
+
displayOptions: { show: { resource: ['crearCompra'] } },
|
|
457
467
|
},
|
|
458
468
|
{
|
|
459
469
|
displayName: 'Condicion De Venta',
|
|
460
470
|
name: 'idCondicionVenta',
|
|
461
471
|
type: 'number',
|
|
462
472
|
default: '',
|
|
463
|
-
displayOptions: { show: { resource: ['
|
|
473
|
+
displayOptions: { show: { resource: ['crearVenta'] } },
|
|
464
474
|
},
|
|
465
475
|
{
|
|
466
476
|
displayName: 'Condición De Pago',
|
|
@@ -483,7 +493,7 @@ const getArticulo = [
|
|
|
483
493
|
type: 'string',
|
|
484
494
|
typeOptions: { password: true },
|
|
485
495
|
default: '',
|
|
486
|
-
displayOptions: { show: { resource: ['
|
|
496
|
+
displayOptions: { show: { resource: ['verificarCredencialesOperador'] } },
|
|
487
497
|
},
|
|
488
498
|
{
|
|
489
499
|
displayName: 'Cotizacion',
|
|
@@ -500,7 +510,7 @@ const getArticulo = [
|
|
|
500
510
|
default: "",
|
|
501
511
|
displayOptions: {
|
|
502
512
|
show: {
|
|
503
|
-
resource: ['
|
|
513
|
+
resource: ['crearCliente', 'actualizarCliente', 'crearContribuyente'],
|
|
504
514
|
},
|
|
505
515
|
},
|
|
506
516
|
description: 'Información en formato JSON para crear o actualizar un cliente',
|
|
@@ -514,12 +524,12 @@ const getArticulo = [
|
|
|
514
524
|
displayOptions: {
|
|
515
525
|
show: {
|
|
516
526
|
resource: [
|
|
517
|
-
'
|
|
518
|
-
'
|
|
527
|
+
'crearProveedor',
|
|
528
|
+
'crearCliente',
|
|
519
529
|
'buscarContribuyente',
|
|
520
|
-
'
|
|
521
|
-
'
|
|
522
|
-
'
|
|
530
|
+
'crearContribuyente',
|
|
531
|
+
'buscarClientePorCuit',
|
|
532
|
+
'buscarClientes',
|
|
523
533
|
],
|
|
524
534
|
},
|
|
525
535
|
},
|
|
@@ -530,7 +540,7 @@ const getArticulo = [
|
|
|
530
540
|
type: 'json',
|
|
531
541
|
required: true,
|
|
532
542
|
default: '',
|
|
533
|
-
displayOptions: { show: { resource: ['
|
|
543
|
+
displayOptions: { show: { resource: ['sincronizarImagenes'] } },
|
|
534
544
|
},
|
|
535
545
|
{
|
|
536
546
|
displayName: 'Dia De La Semana',
|
|
@@ -538,14 +548,14 @@ const getArticulo = [
|
|
|
538
548
|
type: 'number',
|
|
539
549
|
default: 0,
|
|
540
550
|
description: 'Numero de la semana por el cual filtrar promociones aplicadas (0 es Lunes)',
|
|
541
|
-
displayOptions: { show: { resource: ['
|
|
551
|
+
displayOptions: { show: { resource: ['listarPromocionesCliente'] } },
|
|
542
552
|
},
|
|
543
553
|
{
|
|
544
554
|
displayName: 'DNI',
|
|
545
555
|
name: 'dni',
|
|
546
556
|
type: 'string',
|
|
547
557
|
default: '',
|
|
548
|
-
displayOptions: { show: { resource: ['
|
|
558
|
+
displayOptions: { show: { resource: ['crearCliente'] } },
|
|
549
559
|
},
|
|
550
560
|
{
|
|
551
561
|
displayName: 'Endpoint',
|
|
@@ -562,7 +572,7 @@ const getArticulo = [
|
|
|
562
572
|
name: 'esContado',
|
|
563
573
|
type: 'boolean',
|
|
564
574
|
default: false,
|
|
565
|
-
displayOptions: { show: { resource: ['
|
|
575
|
+
displayOptions: { show: { resource: ['crearVenta'] } },
|
|
566
576
|
},
|
|
567
577
|
{
|
|
568
578
|
displayName: 'Fecha Desde',
|
|
@@ -572,17 +582,40 @@ const getArticulo = [
|
|
|
572
582
|
displayOptions: {
|
|
573
583
|
show: {
|
|
574
584
|
resource: [
|
|
575
|
-
'
|
|
576
|
-
'
|
|
577
|
-
'
|
|
578
|
-
'
|
|
579
|
-
'
|
|
580
|
-
'
|
|
581
|
-
'
|
|
582
|
-
'
|
|
583
|
-
'
|
|
584
|
-
'
|
|
585
|
-
'
|
|
585
|
+
'crearCompra',
|
|
586
|
+
'listarFacturasVentasPorCliente',
|
|
587
|
+
'listarFacturasVenta',
|
|
588
|
+
'listarFacturasCobros',
|
|
589
|
+
'listarPedidosVenta',
|
|
590
|
+
'listarPedidosVentaFiltrados',
|
|
591
|
+
'listarOrdenesCompra',
|
|
592
|
+
'listarCobros',
|
|
593
|
+
'listarCompras',
|
|
594
|
+
'crearVenta',
|
|
595
|
+
'listarOrdenesCompra',
|
|
596
|
+
'estadisticaVentaRanking'
|
|
597
|
+
],
|
|
598
|
+
},
|
|
599
|
+
},
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
displayName: 'Fecha Hasta',
|
|
603
|
+
name: 'endDate',
|
|
604
|
+
type: 'dateTime',
|
|
605
|
+
default: '',
|
|
606
|
+
displayOptions: {
|
|
607
|
+
show: {
|
|
608
|
+
resource: [
|
|
609
|
+
'listarFacturasVentasPorCliente',
|
|
610
|
+
'listarFacturasVenta',
|
|
611
|
+
'listarFacturasCobros',
|
|
612
|
+
'listarPedidosVenta',
|
|
613
|
+
'listarPedidosVentaFiltrados',
|
|
614
|
+
'listarOrdenesCompra',
|
|
615
|
+
'listarCobros',
|
|
616
|
+
'listarCompras',
|
|
617
|
+
'listarOrdenesCompra',
|
|
618
|
+
'estadisticaVentaRanking'
|
|
586
619
|
],
|
|
587
620
|
},
|
|
588
621
|
},
|
|
@@ -595,9 +628,47 @@ const getArticulo = [
|
|
|
595
628
|
default: undefined,
|
|
596
629
|
description: 'Parametro fecha del body para las solicitudes',
|
|
597
630
|
displayOptions: {
|
|
598
|
-
show: { resource: ['
|
|
631
|
+
show: { resource: ['listarProductosDisponibles', 'listarPromocionesCliente', 'crearCompra', 'crearPedidoVenta'] },
|
|
599
632
|
},
|
|
600
633
|
},
|
|
634
|
+
{
|
|
635
|
+
displayName: 'Tipo De Ranking',
|
|
636
|
+
name: 'tipoDeRanking',
|
|
637
|
+
type: 'options',
|
|
638
|
+
default: 'none',
|
|
639
|
+
description: 'Tipo de ranking a filtrar',
|
|
640
|
+
options: [
|
|
641
|
+
{
|
|
642
|
+
name: 'Ninguno',
|
|
643
|
+
value: 'none'
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
name: 'Clientes',
|
|
647
|
+
value: 'esRankingClientes'
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
name: 'Artículos',
|
|
651
|
+
value: 'esRankingArticulos'
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
name: 'Vendedores',
|
|
655
|
+
value: 'esRankingVendedores'
|
|
656
|
+
}
|
|
657
|
+
],
|
|
658
|
+
displayOptions: {
|
|
659
|
+
show: { resource: ['estadisticaVentaRanking'] }
|
|
660
|
+
}
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
displayName: 'Ordenar Ascendentemente',
|
|
664
|
+
name: 'orderAsc',
|
|
665
|
+
type: 'boolean',
|
|
666
|
+
default: false,
|
|
667
|
+
description: 'Whether to order the sales statistics in ascending mode',
|
|
668
|
+
displayOptions: {
|
|
669
|
+
show: { resource: ['estadisticaVentaRanking'] }
|
|
670
|
+
}
|
|
671
|
+
},
|
|
601
672
|
{
|
|
602
673
|
displayName: 'Vendedor ID',
|
|
603
674
|
name: 'vendedorID',
|
|
@@ -611,6 +682,38 @@ const getArticulo = [
|
|
|
611
682
|
}
|
|
612
683
|
}
|
|
613
684
|
},
|
|
685
|
+
{
|
|
686
|
+
displayName: 'Tipo De Orden',
|
|
687
|
+
name: 'ventaRankingOrderBy',
|
|
688
|
+
type: 'options',
|
|
689
|
+
default: 'CantidadUnidadNivel0',
|
|
690
|
+
description: 'Tipo de orden para obtener el ranking',
|
|
691
|
+
options: [
|
|
692
|
+
{
|
|
693
|
+
name: 'Cantidad Unidad Nivel 0',
|
|
694
|
+
value: 'CantidadUnidadNivel0'
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
name: 'Cantidad Unidad Nivel 1',
|
|
698
|
+
value: 'CantidadUnidadNivel1'
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
name: 'Cantidad Unidad Nivel 2',
|
|
702
|
+
value: 'CantidadUnidadNivel2'
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
name: 'Importe Total Final',
|
|
706
|
+
value: 'ImporteTotalFinal'
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
name: 'Importe Total Neto',
|
|
710
|
+
value: 'ImporteTotalNeto'
|
|
711
|
+
}
|
|
712
|
+
],
|
|
713
|
+
displayOptions: {
|
|
714
|
+
show: { resource: ['estadisticaVentaRanking'] }
|
|
715
|
+
}
|
|
716
|
+
},
|
|
614
717
|
{
|
|
615
718
|
displayName: 'Fecha De Entrega',
|
|
616
719
|
name: 'deliveryDate',
|
|
@@ -644,33 +747,12 @@ const getArticulo = [
|
|
|
644
747
|
show: { resource: ['crearPedidoVenta'] },
|
|
645
748
|
},
|
|
646
749
|
},
|
|
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
750
|
{
|
|
669
751
|
displayName: 'Fecha Modificación Desde',
|
|
670
752
|
name: 'dateModified',
|
|
671
753
|
type: 'dateTime',
|
|
672
754
|
default: '',
|
|
673
|
-
displayOptions: { show: { resource: ['
|
|
755
|
+
displayOptions: { show: { resource: ['listarProductosDisponibles'] } },
|
|
674
756
|
},
|
|
675
757
|
{
|
|
676
758
|
displayName: 'Fecha Precio Actualizado Desde',
|
|
@@ -678,9 +760,18 @@ const getArticulo = [
|
|
|
678
760
|
type: 'dateTime',
|
|
679
761
|
default: '',
|
|
680
762
|
displayOptions: {
|
|
681
|
-
show: { resource: ['
|
|
763
|
+
show: { resource: ['consultarSaldoCliente', 'verDetalleSaldoCliente'] },
|
|
682
764
|
},
|
|
683
765
|
},
|
|
766
|
+
{
|
|
767
|
+
displayName: 'Cantidad De Items',
|
|
768
|
+
name: 'cantidadDeItems',
|
|
769
|
+
type: 'number',
|
|
770
|
+
default: 1,
|
|
771
|
+
displayOptions: {
|
|
772
|
+
show: { resource: ['estadisticaVentaRanking'] }
|
|
773
|
+
}
|
|
774
|
+
},
|
|
684
775
|
{
|
|
685
776
|
displayName: 'Forma De Pago Proveedor',
|
|
686
777
|
name: 'formaPagoProveedor',
|
|
@@ -697,7 +788,7 @@ const getArticulo = [
|
|
|
697
788
|
placeholder: 'Ej. 27231',
|
|
698
789
|
description: 'Identificador unico con el cual hacer solicitudes a la API',
|
|
699
790
|
displayOptions: {
|
|
700
|
-
show: { resource: ['
|
|
791
|
+
show: { resource: ['verDetallePedidoVenta', 'verDetalleRegimenEspecial'] },
|
|
701
792
|
},
|
|
702
793
|
},
|
|
703
794
|
{
|
|
@@ -706,7 +797,7 @@ const getArticulo = [
|
|
|
706
797
|
type: 'string',
|
|
707
798
|
default: '',
|
|
708
799
|
displayOptions: {
|
|
709
|
-
show: { resource: ['
|
|
800
|
+
show: { resource: ['descargarImagenesProductos', 'buscarProductoPorCodigo', 'buscarProductoEnSucursal'] },
|
|
710
801
|
},
|
|
711
802
|
},
|
|
712
803
|
{
|
|
@@ -714,7 +805,7 @@ const getArticulo = [
|
|
|
714
805
|
name: 'bonificacion',
|
|
715
806
|
type: 'number',
|
|
716
807
|
default: 0,
|
|
717
|
-
displayOptions: { show: { resource: ['
|
|
808
|
+
displayOptions: { show: { resource: ['crearVenta'] } },
|
|
718
809
|
},
|
|
719
810
|
{
|
|
720
811
|
displayName: 'ID De Cobro',
|
|
@@ -723,14 +814,14 @@ const getArticulo = [
|
|
|
723
814
|
type: 'number',
|
|
724
815
|
default: 0,
|
|
725
816
|
description: 'ID del cobro',
|
|
726
|
-
displayOptions: { show: { resource: ['
|
|
817
|
+
displayOptions: { show: { resource: ['listarCobros'] } },
|
|
727
818
|
},
|
|
728
819
|
{
|
|
729
820
|
displayName: 'ID De La Compra',
|
|
730
821
|
name: 'idCompra',
|
|
731
822
|
type: 'number',
|
|
732
823
|
default: '',
|
|
733
|
-
displayOptions: { show: { resource: ['
|
|
824
|
+
displayOptions: { show: { resource: ['listarCompras', 'verDetalleOrdenCompra'] } },
|
|
734
825
|
},
|
|
735
826
|
{
|
|
736
827
|
displayName: 'ID Del Estado',
|
|
@@ -738,7 +829,7 @@ const getArticulo = [
|
|
|
738
829
|
type: 'number',
|
|
739
830
|
default: false,
|
|
740
831
|
description: 'Número del estado del pedido',
|
|
741
|
-
displayOptions: { show: { resource: ['
|
|
832
|
+
displayOptions: { show: { resource: ['listarPedidosVenta', 'obtenerOrdenesCompra', 'listarPedidosVentaFiltrados'] } },
|
|
742
833
|
},
|
|
743
834
|
{
|
|
744
835
|
displayName: 'ID Del Operador Compra',
|
|
@@ -754,7 +845,7 @@ const getArticulo = [
|
|
|
754
845
|
default: '',
|
|
755
846
|
placeholder: '2',
|
|
756
847
|
description: 'ID Del proveedor de la compra',
|
|
757
|
-
displayOptions: { show: { resource: ['
|
|
848
|
+
displayOptions: { show: { resource: ['crearCompra'] } },
|
|
758
849
|
},
|
|
759
850
|
{
|
|
760
851
|
displayName: 'ID Del Tipo De Comprobante',
|
|
@@ -763,7 +854,7 @@ const getArticulo = [
|
|
|
763
854
|
default: '',
|
|
764
855
|
placeholder: '1',
|
|
765
856
|
description: 'ID del tipo de comprobante de la factura',
|
|
766
|
-
displayOptions: { show: { resource: ['
|
|
857
|
+
displayOptions: { show: { resource: ['crearCompra', 'listarFacturasVenta'] } },
|
|
767
858
|
},
|
|
768
859
|
{
|
|
769
860
|
displayName: 'ID Del Tipo De Comprobante',
|
|
@@ -772,7 +863,7 @@ const getArticulo = [
|
|
|
772
863
|
default: '',
|
|
773
864
|
placeholder: '1',
|
|
774
865
|
description: 'ID del tipo de comprobante de la venta',
|
|
775
|
-
displayOptions: { show: { resource: ['
|
|
866
|
+
displayOptions: { show: { resource: ['listarFacturasVenta'] } }
|
|
776
867
|
},
|
|
777
868
|
{
|
|
778
869
|
displayName: 'ID Cuenta Corriente',
|
|
@@ -781,49 +872,49 @@ const getArticulo = [
|
|
|
781
872
|
default: '',
|
|
782
873
|
placeholder: '1',
|
|
783
874
|
description: 'ID del cliente cuenta corriente del comprobante de venta',
|
|
784
|
-
displayOptions: { show: { resource: ['
|
|
875
|
+
displayOptions: { show: { resource: ['listarFacturasVenta'] } }
|
|
785
876
|
},
|
|
786
877
|
{
|
|
787
878
|
displayName: 'ID Del Vendedor',
|
|
788
879
|
name: 'idVendedor',
|
|
789
880
|
type: 'number',
|
|
790
881
|
default: '',
|
|
791
|
-
displayOptions: { show: { resource: ['
|
|
882
|
+
displayOptions: { show: { resource: ['crearVenta', 'listarFacturasVenta'] } },
|
|
792
883
|
},
|
|
793
884
|
{
|
|
794
885
|
displayName: 'ID De La Venta',
|
|
795
886
|
name: 'ventaId',
|
|
796
887
|
type: 'number',
|
|
797
888
|
default: '',
|
|
798
|
-
displayOptions: { show: { resource: ['
|
|
889
|
+
displayOptions: { show: { resource: ['listarFacturasVenta'] } },
|
|
799
890
|
},
|
|
800
891
|
{
|
|
801
892
|
displayName: 'ID De La Sucursal',
|
|
802
893
|
name: 'sucursalId',
|
|
803
894
|
type: 'number',
|
|
804
895
|
default: '',
|
|
805
|
-
displayOptions: { show: { resource: ['
|
|
896
|
+
displayOptions: { show: { resource: ['listarFacturasVenta'] } },
|
|
806
897
|
},
|
|
807
898
|
{
|
|
808
899
|
displayName: 'Incluir Pedidos Anulados',
|
|
809
900
|
name: 'incluirAnulados',
|
|
810
901
|
type: 'boolean',
|
|
811
902
|
default: false,
|
|
812
|
-
displayOptions: { show: { resource: ['
|
|
903
|
+
displayOptions: { show: { resource: ['listarFacturasVenta'] } },
|
|
813
904
|
},
|
|
814
905
|
{
|
|
815
906
|
displayName: 'ID Del Canal De Venta',
|
|
816
907
|
name: 'canalVentaId',
|
|
817
908
|
type: 'number',
|
|
818
909
|
default: '',
|
|
819
|
-
displayOptions: { show: { resource: ['
|
|
910
|
+
displayOptions: { show: { resource: ['listarFacturasVenta'] } },
|
|
820
911
|
},
|
|
821
912
|
{
|
|
822
913
|
displayName: 'ID De La Division Empresa',
|
|
823
914
|
name: 'divisionEmpresaId',
|
|
824
915
|
type: 'number',
|
|
825
916
|
default: '',
|
|
826
|
-
displayOptions: { show: { resource: ['
|
|
917
|
+
displayOptions: { show: { resource: ['listarFacturasVenta'] } },
|
|
827
918
|
},
|
|
828
919
|
{
|
|
829
920
|
displayName: 'ID Usuario Creador',
|
|
@@ -831,7 +922,7 @@ const getArticulo = [
|
|
|
831
922
|
type: 'number',
|
|
832
923
|
description: 'ID Del usuario que creo el comprobante de venta',
|
|
833
924
|
default: '',
|
|
834
|
-
displayOptions: { show: { resource: ['
|
|
925
|
+
displayOptions: { show: { resource: ['listarFacturasVenta'] } },
|
|
835
926
|
},
|
|
836
927
|
{
|
|
837
928
|
displayName: 'ID Del Transporte',
|
|
@@ -839,7 +930,7 @@ const getArticulo = [
|
|
|
839
930
|
type: 'number',
|
|
840
931
|
description: 'ID del transporte asociado al comprobante de venta',
|
|
841
932
|
default: '',
|
|
842
|
-
displayOptions: { show: { resource: ['
|
|
933
|
+
displayOptions: { show: { resource: ['listarFacturasVenta'] } },
|
|
843
934
|
},
|
|
844
935
|
{
|
|
845
936
|
displayName: 'ID Pais',
|
|
@@ -847,7 +938,7 @@ const getArticulo = [
|
|
|
847
938
|
type: 'string',
|
|
848
939
|
default: '',
|
|
849
940
|
description: 'ID del país por la cual se buscarán las provincias',
|
|
850
|
-
displayOptions: { show: { resource: ['
|
|
941
|
+
displayOptions: { show: { resource: ['listarProvincias', 'crearProveedor'] } },
|
|
851
942
|
},
|
|
852
943
|
{
|
|
853
944
|
displayName: 'ID Provincia',
|
|
@@ -855,7 +946,7 @@ const getArticulo = [
|
|
|
855
946
|
type: 'string',
|
|
856
947
|
default: '',
|
|
857
948
|
description: 'ID de la provincia por la cual se buscarán los departamentos',
|
|
858
|
-
displayOptions: { show: { resource: ['
|
|
949
|
+
displayOptions: { show: { resource: ['listarDepartamentos', 'crearProveedor'] } },
|
|
859
950
|
},
|
|
860
951
|
{
|
|
861
952
|
displayName: 'ID Sucursal Física',
|
|
@@ -865,7 +956,7 @@ const getArticulo = [
|
|
|
865
956
|
description: 'The ID of the physical branch to filter stock (optional)',
|
|
866
957
|
displayOptions: {
|
|
867
958
|
show: {
|
|
868
|
-
resource: ['searchArticleBySKU', '
|
|
959
|
+
resource: ['searchArticleBySKU', 'buscarProductoEnSucursal', 'crearCompra'],
|
|
869
960
|
},
|
|
870
961
|
},
|
|
871
962
|
},
|
|
@@ -874,7 +965,7 @@ const getArticulo = [
|
|
|
874
965
|
name: 'IdSucursalFisica',
|
|
875
966
|
type: 'string',
|
|
876
967
|
default: '',
|
|
877
|
-
displayOptions: { show: { resource: ['
|
|
968
|
+
displayOptions: { show: { resource: ['listarProductosPorSucursal'] } },
|
|
878
969
|
},
|
|
879
970
|
{
|
|
880
971
|
displayName: 'ID Valor Efectivo',
|
|
@@ -919,7 +1010,7 @@ const getArticulo = [
|
|
|
919
1010
|
type: 'number',
|
|
920
1011
|
default: '',
|
|
921
1012
|
description: 'ID de la lista para buscar los precios de los articulos',
|
|
922
|
-
displayOptions: { show: { resource: ['
|
|
1013
|
+
displayOptions: { show: { resource: ['consultarPrecioProducto', 'crearVenta'] } },
|
|
923
1014
|
},
|
|
924
1015
|
{
|
|
925
1016
|
displayName: 'Letra Del Documento De La Compra',
|
|
@@ -928,7 +1019,7 @@ const getArticulo = [
|
|
|
928
1019
|
default: '',
|
|
929
1020
|
placeholder: 'A',
|
|
930
1021
|
description: 'Letra del documento de la compra de la factura',
|
|
931
|
-
displayOptions: { show: { resource: ['
|
|
1022
|
+
displayOptions: { show: { resource: ['crearCompra'] } },
|
|
932
1023
|
},
|
|
933
1024
|
{
|
|
934
1025
|
displayName: 'Nombre Del Tipo De Comprobante',
|
|
@@ -937,7 +1028,7 @@ const getArticulo = [
|
|
|
937
1028
|
default: '',
|
|
938
1029
|
placeholder: 'Factura de compras',
|
|
939
1030
|
description: 'Nombre del tipo de comprobante de la factura',
|
|
940
|
-
displayOptions: { show: { resource: ['
|
|
1031
|
+
displayOptions: { show: { resource: ['crearCompra'] } },
|
|
941
1032
|
},
|
|
942
1033
|
{
|
|
943
1034
|
displayName: 'Nombre Del Articulo',
|
|
@@ -945,7 +1036,7 @@ const getArticulo = [
|
|
|
945
1036
|
type: 'string',
|
|
946
1037
|
default: '',
|
|
947
1038
|
placeholder: 'Alfajores',
|
|
948
|
-
displayOptions: { show: { resource: ['
|
|
1039
|
+
displayOptions: { show: { resource: ['buscarProductos', 'buscarProductoEnSucursal'] } },
|
|
949
1040
|
description: 'El nombre del producto a buscar',
|
|
950
1041
|
},
|
|
951
1042
|
{
|
|
@@ -955,7 +1046,7 @@ const getArticulo = [
|
|
|
955
1046
|
default: '',
|
|
956
1047
|
placeholder: '1',
|
|
957
1048
|
description: 'Numero del documento de la compra de la factura',
|
|
958
|
-
displayOptions: { show: { resource: ['
|
|
1049
|
+
displayOptions: { show: { resource: ['crearCompra'] } },
|
|
959
1050
|
},
|
|
960
1051
|
{
|
|
961
1052
|
displayName: 'Observaciones',
|
|
@@ -971,7 +1062,7 @@ const getArticulo = [
|
|
|
971
1062
|
required: true,
|
|
972
1063
|
default: '',
|
|
973
1064
|
description: 'ID del proveedor usado para buscar dentro del sistema',
|
|
974
|
-
displayOptions: { show: { resource: ['
|
|
1065
|
+
displayOptions: { show: { resource: ['buscarProveedor', 'listarOrdenesCompra'] } },
|
|
975
1066
|
},
|
|
976
1067
|
{
|
|
977
1068
|
displayName: 'Punto De Venta',
|
|
@@ -989,7 +1080,7 @@ const getArticulo = [
|
|
|
989
1080
|
default: '',
|
|
990
1081
|
description: 'Razón social del cliente para buscar',
|
|
991
1082
|
displayOptions: {
|
|
992
|
-
show: { resource: ['buscarContribuyente', '
|
|
1083
|
+
show: { resource: ['buscarContribuyente', 'buscarClientes', 'crearProveedor', 'crearPedidoVenta'] },
|
|
993
1084
|
},
|
|
994
1085
|
},
|
|
995
1086
|
{
|
|
@@ -1007,7 +1098,7 @@ const getArticulo = [
|
|
|
1007
1098
|
type: 'string',
|
|
1008
1099
|
default: '',
|
|
1009
1100
|
description: 'Client ID used to search the articles',
|
|
1010
|
-
displayOptions: { show: { resource: ['
|
|
1101
|
+
displayOptions: { show: { resource: ['listarCategorias'] } },
|
|
1011
1102
|
},
|
|
1012
1103
|
{
|
|
1013
1104
|
displayName: 'Sucursales Físicas - IDs Lista',
|
|
@@ -1016,7 +1107,7 @@ const getArticulo = [
|
|
|
1016
1107
|
required: true,
|
|
1017
1108
|
default: '7345',
|
|
1018
1109
|
description: 'Physical branch ID separated by comma',
|
|
1019
|
-
displayOptions: { show: { resource: ['
|
|
1110
|
+
displayOptions: { show: { resource: ['consultarStock'] } },
|
|
1020
1111
|
},
|
|
1021
1112
|
{
|
|
1022
1113
|
displayName: 'Ultima Modificacion Imagenes',
|
|
@@ -1024,14 +1115,14 @@ const getArticulo = [
|
|
|
1024
1115
|
type: 'json',
|
|
1025
1116
|
required: true,
|
|
1026
1117
|
default: '',
|
|
1027
|
-
displayOptions: { show: { resource: ['
|
|
1118
|
+
displayOptions: { show: { resource: ['sincronizarImagenes'] } },
|
|
1028
1119
|
},
|
|
1029
1120
|
{
|
|
1030
1121
|
displayName: 'Usuario',
|
|
1031
1122
|
name: 'username',
|
|
1032
1123
|
type: 'string',
|
|
1033
1124
|
default: '',
|
|
1034
|
-
displayOptions: { show: { resource: ['
|
|
1125
|
+
displayOptions: { show: { resource: ['verificarCredencialesOperador'] } },
|
|
1035
1126
|
},
|
|
1036
1127
|
];
|
|
1037
1128
|
exports.CentumFields = [...getArticulo];
|
|
@@ -1096,8 +1187,8 @@ exports.HttpOptions = [
|
|
|
1096
1187
|
displayOptions: {
|
|
1097
1188
|
show: {
|
|
1098
1189
|
resource: [
|
|
1099
|
-
'
|
|
1100
|
-
'
|
|
1190
|
+
'listarClientes',
|
|
1191
|
+
'listarTodosLosProductos'
|
|
1101
1192
|
],
|
|
1102
1193
|
},
|
|
1103
1194
|
},
|