Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private boolean isGoodCustomer() {
- boolean doRecalc = false;
- boolean retCode;
- // set input empty to get rid of the suggestionProvider popup
- final SessionFX suggSession = SessionFX.getInstance();
- suggSession.getShopListCompletionBinding().setUserInput("");
- final double cstEntered = Double.parseDouble(setCustNum(cusNum, storeNum));
- if (CompareDoubles.isEqual(cstEntered, ZeroValues.ZERODOUBLE)) {
- return false;
- } else {
- if (checkRecalc(cstEntered)) {
- invSession.setSkipPartNoLostFocusEvents(true);
- Recalculate.doRecalculate();
- ItemClear.clear(true);
- invSession.setSkipPartNoLostFocusEvents(false);
- }
- return checkIfGoodCust(cstEntered);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement