total, subtotal = p.sendADJUSTMENTS(lItem.upc, entryID, originalEntryID, lItem.dept, 0, amount, 1, lItem.desc, total, subtotal) def EnterTender(desc, tenderAmt, entryID): global p global tlu lTender = tlu.getTender(desc) # EntryID, TenderID, TenderSubID, BinNum, VoidFlag, TenderAmount, TenderDesc p.sendTENDER_ENTRY(entryID, lTender.tenderID, lTender.tenderSubID, lTender.tenderBin, 0, tenderAmt, lTender.desc) plu = PLU() # upc, description, price, department plu.addItem(Item('0000000333333444', 'DeliHam', 3.49, 3000)) plu.addItem(Item('0000000333333445', 'Wurst', 5.49, 3000)) plu.addItem(Item('0000000333333446', 'OlivLoaf', 4.49, 3000)) plu.addItem(Item('000000120000013', 'DtPepsi', 1.79, 1000)) plu.addItem(Item('13803001198', 'DtPepsiStap', 3.99, 1000)) plu.addItem(Item('1899698432', 'battery pack', 7.99, 1)) plu.addItem(Item('1899698433', 'battery pack A', 5.99, 1)) plu.addItem(Item('00001600027528', 'Shaun basket level item', 5.99, 1)) plu.addItem(Item('00088949727215', 'Plano offer13 item', 5.99, 1)) plu.addItem(Item('00000000004048', 'Limes', 0.86, 1)) plu.addItem(Item('00005100006992', 'Smart WIC', 3.29, 1)) tlu = TLU() # description, tenderID, subID, bin
total, subtotal = p.sendADJUSTMENTS(lItem.upc, entryID, originalEntryID, lItem.dept, 0, amount, 1, lItem.desc, total, subtotal) def EnterTender(desc, tenderAmt, entryID): global p global tlu lTender = tlu.getTender(desc) # EntryID, TenderID, TenderSubID, BinNum, VoidFlag, TenderAmount, TenderDesc p.sendTENDER_ENTRY(entryID, lTender.tenderID, lTender.tenderSubID, lTender.tenderBin, 0, tenderAmt, lTender.desc) plu = PLU() # upc, description, price, department plu.addItem(Item('0000000333333444', 'DeliHam', 3.49, 3000)) plu.addItem(Item('0000000333333445', 'Wurst', 5.49, 3000)) plu.addItem(Item('0000000333333446', 'OlivLoaf', 4.49, 3000)) plu.addItem(Item('000000120000013', 'DtPepsi', 1.79, 1000)) plu.addItem(Item('13803001198', 'DtPepsiStap', 51.23, 1000)) plu.addItem(Item('1899698432', 'battery pack', 7.99, 1)) plu.addItem(Item('1899698433', 'battery pack A', 5.99, 1)) plu.addItem(Item('00001600027528', 'Shaun basket level item', 5.99, 1)) plu.addItem(Item('00088949727215', 'Plano offer13 item', 5.99, 1)) plu.addItem(Item('00000000004048', 'Limes', 0.86, 1)) plu.addItem(Item('00005100006992', 'Smart WIC', 3.29, 1)) plu.addItem(Item('7160000357', 'Offer 17 item', 3.29, 1)) plu.addItem(Item('4030', 'Offer 18 item', 3.29, 1)) plu.addItem(Item('00000000055991', 'item 55991', 1.00, 1))
total, subtotal = p.sendADJUSTMENTS(lItem.upc, entryID, originalEntryID, lItem.dept, 0, amount, 1, lItem.desc, total, subtotal) def EnterTender(desc, tenderAmt, entryID): global p global tlu lTender = tlu.getTender(desc) # EntryID, TenderID, TenderSubID, BinNum, VoidFlag, TenderAmount, TenderDesc p.sendTENDER_ENTRY(entryID, lTender.tenderID, lTender.tenderSubID, lTender.tenderBin, 0, tenderAmt, lTender.desc) plu = PLU() # upc, description, price, department plu.addItem(Item('0000000333333444', 'DeliHam', 3.49, 3000)) plu.addItem(Item('0000000333333445', 'Wurst', 5.49, 3000)) plu.addItem(Item('0000000333333446', 'OlivLoaf', 4.49, 3000)) plu.addItem(Item('000000120000013', 'DtPepsi', 1.79, 1000)) plu.addItem(Item('13803001198', 'DtPepsiStap', 3.99, 1000)) plu.addItem(Item('1899698432', 'battery pack', 7.99, 1)) plu.addItem(Item('1899698433', 'battery pack A', 5.99, 1)) plu.addItem(Item('00001600027528', 'Shaun basket level item', 5.99, 1)) plu.addItem(Item('00088949727215', 'Plano offer13 item', 5.99, 1)) plu.addItem(Item('00000000004048', 'Limes', 0.86, 1)) plu.addItem(Item('00005100006992', 'Smart WIC', 3.29, 1)) plu.addItem(Item('7160000357', 'Offer 17 item', 3.29, 1)) plu.addItem(Item('4030', 'Offer 18 item', 3.29, 1)) plu.addItem(Item('00000000055991', 'item 55991', 1.00, 1))
total, subtotal = p.sendADJUSTMENTS(lItem.upc, entryID, originalEntryID, lItem.dept, 0, amount, 1, lItem.desc, total, subtotal) def EnterTender(desc, tenderAmt, entryID): global p global tlu lTender = tlu.getTender(desc) # EntryID, TenderID, TenderSubID, BinNum, VoidFlag, TenderAmount, TenderDesc p.sendTENDER_ENTRY(entryID, lTender.tenderID, lTender.tenderSubID, lTender.tenderBin, 0, tenderAmt, lTender.desc) plu = PLU() # upc, description, price, department plu.addItem(Item('0000000333333444', 'DeliHam', 3.49, 3000)) plu.addItem(Item('0000000333333445', 'Wurst', 5.49, 3000)) plu.addItem(Item('0000000333333446', 'OlivLoaf', 4.49, 3000)) plu.addItem(Item('000000120000013', 'DtPepsi', 1.79, 1000)) plu.addItem(Item('13803001198', 'DtPepsiStap', 3.99, 1000)) plu.addItem(Item('1899698432', 'battery pack', 7.99, 1)) plu.addItem(Item('41555000701', 'Corn', 0.60, 1000)) plu.addItem(Item('4401', 'CatFood', 28.77, 1)) plu.addItem(Item('0000000000004756', 'PrepMeal', 9.99, 3000)) tlu = TLU() # description, tenderID, subID, bin tlu.addTender(Tender('ckstender', 1, 1, 0))
total, subtotal = p.sendADJUSTMENTS(lItem.upc, entryID, originalEntryID, lItem.dept, 0, amount, 1, lItem.desc, total, subtotal) def EnterTender(desc, tenderAmt, entryID): global p global tlu lTender = tlu.getTender(desc) # EntryID, TenderID, TenderSubID, BinNum, VoidFlag, TenderAmount, TenderDesc p.sendTENDER_ENTRY(entryID, lTender.tenderID, lTender.tenderSubID, lTender.tenderBin, 0, tenderAmt, lTender.desc) plu = PLU() # upc, description, price, department plu.addItem(Item('0000000333333444', 'DeliHam', 3.49, 3000)) plu.addItem(Item('0000000333333445', 'Wurst', 5.49, 3000)) plu.addItem(Item('0000000333333446', 'OlivLoaf', 4.49, 3000)) plu.addItem(Item('000000120000013', 'DtPepsi', 1.79, 1000)) plu.addItem(Item('13803001198', 'DtPepsiStap', 3.99, 1000)) plu.addItem(Item('1899698432', 'battery pack', 7.99, 1)) plu.addItem(Item('1899698433', 'battery pack A', 5.99, 1)) plu.addItem(Item('00001600027528', 'Shaun basket level item', 5.99, 1)) tlu = TLU() # description, tenderID, subID, bin tlu.addTender(Tender('ckstender', 1, 1, 0)) total = 0.0
total, subtotal = p.sendADJUSTMENTS(lItem.upc, entryID, originalEntryID, lItem.dept, 0, amount, 1, lItem.desc, total, subtotal) def EnterTender(desc, tenderAmt, entryID): global p global tlu lTender = tlu.getTender(desc) # EntryID, TenderID, TenderSubID, BinNum, VoidFlag, TenderAmount, TenderDesc p.sendTENDER_ENTRY(entryID, lTender.tenderID, lTender.tenderSubID, lTender.tenderBin, 0, tenderAmt, lTender.desc) plu = PLU() # upc, description, price, department plu.addItem(Item('00000012340111', 'offer111item', 0.68, 1)) plu.addItem(Item('00000000000323', 'offer112item', 4.01, 1)) tlu = TLU() # description, tenderID, subID, bin tlu.addTender(Tender('cash', 11, 12, 0)) total = 0.0 subtotal = 0.0 print(datetime.datetime.now()) p = protocol_281b9('153.73.247.228', 1099, 'cpe01', 1, False)
global subtotal lItem = plu.getItem(desc) # ItemCode, EntryID, ItemEntryID, Dept, VoidFlag, UnitPrice, Qty, Description, Total, Subtotal total, subtotal = p.sendADJUSTMENTS(lItem.upc, entryID, originalEntryID, lItem.dept, 0, amount, 1, lItem.desc, total, subtotal) def EnterTender(desc, tenderAmt, entryID): global p global tlu lTender = tlu.getTender(desc) # EntryID, TenderID, TenderSubID, BinNum, VoidFlag, TenderAmount, TenderDesc p.sendTENDER_ENTRY(entryID, lTender.tenderID, lTender.tenderSubID, lTender.tenderBin, 0, tenderAmt, lTender.desc) plu = PLU() # upc, description, price, department plu.addItem(Item('00000012340111', 'offer111item', 0.68, 1)) plu.addItem(Item('00000000000323', 'offer112item', 24.49, 1)) tlu = TLU() # description, tenderID, subID, bin tlu.addTender(Tender('cash', 11, 12, 0)) total = 0.0 subtotal = 0.0 print(datetime.datetime.now()) p = protocol_281b9('153.73.247.228', 1099, 'cpe01', 1, False)