| Line 311... |
Line 311... |
| 311 |
v.setMop(Double.parseDouble(vendorTable.getText(row, TABLE_INDEX_MOP)));
|
311 |
v.setMop(Double.parseDouble(vendorTable.getText(row, TABLE_INDEX_MOP)));
|
| 312 |
v.setDealerPrice(Double.parseDouble(vendorTable.getText(row, TABLE_INDEX_DP)));
|
312 |
v.setDealerPrice(Double.parseDouble(vendorTable.getText(row, TABLE_INDEX_DP)));
|
| 313 |
v.setTransferPrice(Double.parseDouble(vendorTable.getText(row, TABLE_INDEX_TP)));
|
313 |
v.setTransferPrice(Double.parseDouble(vendorTable.getText(row, TABLE_INDEX_TP)));
|
| 314 |
v.setVendorId(Long.parseLong(vendorTable.getText(row, TABLE_INDEX_VENDORID)));
|
314 |
v.setVendorId(Long.parseLong(vendorTable.getText(row, TABLE_INDEX_VENDORID)));
|
| 315 |
vendorPrices.put(v.getVendorId(), v);
|
315 |
vendorPrices.put(v.getVendorId(), v);
|
| 316 |
item.setMop(v.getMop());
|
- |
|
| 317 |
item.setDealerPrice(v.getDealerPrice());
|
- |
|
| 318 |
item.setTransferPrice(v.getTransferPrice());
|
- |
|
| 319 |
}
|
316 |
}
|
| 320 |
item.setVendorPricesMap(vendorPrices);
|
317 |
item.setVendorPricesMap(vendorPrices);
|
| 321 |
|
318 |
|
| 322 |
/*Create an instance of VendorPricings for each row in vendor pricing table. Set the vendor prices to the instance.
|
319 |
/*Create an instance of VendorPricings for each row in vendor pricing table. Set the vendor prices to the instance.
|
| 323 |
Add the instance to map and set the map to the item instance created above.*/
|
320 |
Add the instance to map and set the map to the item instance created above.*/
|