| Line 52... |
Line 52... |
| 52 |
@UiField TextBox productGroup;
|
52 |
@UiField TextBox productGroup;
|
| 53 |
@UiField TextBox brand, modelNumber, modelName, color, comments;
|
53 |
@UiField TextBox brand, modelNumber, modelName, color, comments;
|
| 54 |
@UiField TextBox mrp, sellingPrice, weight, bestDealText, bestDealValue, bestSellingRank;
|
54 |
@UiField TextBox mrp, sellingPrice, weight, bestDealText, bestDealValue, bestSellingRank;
|
| 55 |
@UiField DateBox startDate, retireDate, comingSoonStartDate, expectedArrivalDate;
|
55 |
@UiField DateBox startDate, retireDate, comingSoonStartDate, expectedArrivalDate;
|
| 56 |
@UiField Button addButton, cancelButton, comingSoonButton;
|
56 |
@UiField Button addButton, cancelButton, comingSoonButton;
|
| 57 |
@UiField CheckBox defaultForEntity, risky, itemType, hasItemNo;
|
57 |
@UiField CheckBox defaultForEntity, risky, itemType, hasItemNo, clearance;
|
| 58 |
@UiField FlexTable headerVendor, vendorTable;
|
58 |
@UiField FlexTable headerVendor, vendorTable;
|
| 59 |
@UiField FlexTable headerVendorM, vendorTableM;
|
59 |
@UiField FlexTable headerVendorM, vendorTableM;
|
| 60 |
@UiField ListBox preferredVendor;
|
60 |
@UiField ListBox preferredVendor;
|
| 61 |
|
61 |
|
| 62 |
public ItemForm(){
|
62 |
public ItemForm(){
|
| Line 317... |
Line 317... |
| 317 |
}
|
317 |
}
|
| 318 |
item.setDefaultForEntity(defaultForEntity.getValue());
|
318 |
item.setDefaultForEntity(defaultForEntity.getValue());
|
| 319 |
item.setRisky(risky.getValue());
|
319 |
item.setRisky(risky.getValue());
|
| 320 |
item.setHasItemNo(hasItemNo.getValue());
|
320 |
item.setHasItemNo(hasItemNo.getValue());
|
| 321 |
item.setItemType(itemType.getValue());
|
321 |
item.setItemType(itemType.getValue());
|
| - |
|
322 |
item.setClearance(clearance.getValue());
|
| 322 |
if(preferredVendor.getSelectedIndex() == 0) {
|
323 |
if(preferredVendor.getSelectedIndex() == 0) {
|
| 323 |
Window.alert("Invalid Vendor Selected");
|
324 |
Window.alert("Invalid Vendor Selected");
|
| 324 |
return;
|
325 |
return;
|
| 325 |
}
|
326 |
}
|
| 326 |
else {
|
327 |
else {
|