108109110111112113114115116117118
if (customerID.equals("") == false) { if (cst.getCustomerProperties(customerID) == true) { if (customerName.equals("") == false) { cst.setName(customerName); cst.update(); } } else { cst.clear(); cst.create(customerID, customerName, "Y");
114115116117118119120121122123124
} } else { cst.clear(); cst.create(customerID, customerName, "Y"); cst.update(); } } else { customerID = "SELF";
187188189190191192193194195196197
if (cust.isValidCustomer(customerID)==false) { cust.clear(); cust.create(customerID, customer_name, "Y"); cust.update(); } } else { repeat=false;
if (customerID.equals("") == false) { if (cst.getCustomerProperties(customerID) == true) { if (customerName.equals("") == false) { cst.setName(customerName); cst.update(); } } else { cst.create(customerID, customerName, "Y"); }