update
This commit is contained in:
parent
1ef83438fb
commit
c39570d6fc
|
@ -3,12 +3,12 @@ const filter = require('./filter');
|
|||
const select = require('./db/selectDB')
|
||||
|
||||
var barcode = "A0A3B820690F";
|
||||
var shelving = "BCD";///introducida por el usuario
|
||||
var shelving = "BCD";///introducida por el usuario O en leida de la bbdd?
|
||||
var collectionFk = '254';
|
||||
|
||||
|
||||
|
||||
function ticketCollection(collectionFk){//parametro collectionFk
|
||||
function ticketCollection(collectionFk, shelving){//parametro collectionFk
|
||||
select.select(collectionFk, function(err,data){
|
||||
if(filter.filterShelving(shelving)){
|
||||
insert.insertTicket(data, shelving)
|
||||
|
|
|
@ -20,7 +20,7 @@ function insertTicket(consultaSql, shelving){
|
|||
{
|
||||
attrCategory: "verdnatura",
|
||||
attrName: "conTicket",
|
||||
barCode: shelving + consultaSql[i].Level.toString().charAt(j),//consultaSql[i].level,//Matricula + nivel
|
||||
barCode: shelving + consultaSql[i].Level.toString().charAt(j),//Matricula + nivel
|
||||
itemTitle: "Etiqueta Con ticket",
|
||||
productCode: consultaSql[i].Ticket, //Ticket
|
||||
custFeature1: consultaSql[i].Client, //Client
|
||||
|
|
Reference in New Issue