dlintegration.syncProduct(p);
// Synchronization of stock
if (product instanceof ProductPlus) {
ProductPlus productplus = (ProductPlus) product;
double diff = productplus.getQtyonhand() - dlsales.findProductStock(warehouse, p.getID(), null);
Object[] diary = new Object[7];
diary[0] = UUID.randomUUID().toString();
diary[1] = now;
diary[2] = diff > 0.0