if (!onValidating)
grid.getTable().getGrid().stopCellEditing();
VariantsMatrixRowVO rowVO = null;
VariantsMatrixColumnVO colVO = null;
CustomValueObject vo = null;
int cols = getVariantsMatrixVO().getColumnDescriptors().length==0?1:getVariantsMatrixVO().getColumnDescriptors().length;
for(int i=0;i<grid.getVOListTableModel().getRowCount();i++) {
rowVO = (VariantsMatrixRowVO)getVariantsMatrixVO().getRowDescriptors()[i];
vo = (CustomValueObject)grid.getVOListTableModel().getObjectForRow(i);
if (rowVO.getVariantTypeITM06().equals(barcodeVO.getVariantTypeItm06ITM22()) &&
rowVO.getVariantCodeITM11().equals(barcodeVO.getVariantCodeItm11ITM22())) {
if (getVariantsMatrixVO().getColumnDescriptors().length==0)
vo.setAttributeNameN0(new BigDecimal(1));
else
for(int j=0;j<cols;j++) {
colVO = (VariantsMatrixColumnVO)getVariantsMatrixVO().getColumnDescriptors()[j];
if ((colVO.getVariantCodeITM12()==null && barcodeVO.getVariantCodeItm12ITM22().equals(ApplicationConsts.JOLLY) || colVO.getVariantCodeITM12().equals(barcodeVO.getVariantCodeItm12ITM22())) &&
(colVO.getVariantCodeITM13()==null && barcodeVO.getVariantCodeItm13ITM22().equals(ApplicationConsts.JOLLY) || colVO.getVariantCodeITM13().equals(barcodeVO.getVariantCodeItm13ITM22())) &&