select shopifyCursor from newsystem_orders where orderType='shopify' and store = 'SRI' and shopifyCursor!='' order by orderID  desc limit 1
DB Cursor --eyJsYXN0X2lkIjo1OTEyOTUwNTcxMTg4LCJsYXN0X3ZhbHVlIjoiMjAyNC0wOS0yMCAxNjo0MTowNy45Njc5MzAifQ==eyJsYXN0X2lkIjo1OTEyOTUwNTcxMTg4LCJsYXN0X3ZhbHVlIjoiMjAyNC0wOS0yMCAxNjo0MTowNy45Njc5MzAifQ==
SRI#98905 processing
amccrayphotos@gmail.com processing
INSERT INTO `newsystem_customers` ( `newSystemMemberID`, `emailAddress`, `firstName`, `lastName`, `tradingName`, `homePhone`, `mobile`, `street`, `city`, `postCode`, `state`, `country`, `pending`, `middleEntryDate`) VALUES ( 'gid://shopify/Customer/7381309358260','amccrayphotos@gmail.com', 'Ashley', 'McCray', '', '+16179576628', '+16179576628', '887 haverhill st ', 'Rowley','01969', 'Massachusetts', 'United States', '1', '2026-06-17 10:09:46')
gid://shopify/Order/5912957976756Exported

New Cursor --eyJsYXN0X2lkIjo1OTEyOTU3OTc2NzU2LCJsYXN0X3ZhbHVlIjoiMjAyNC0wOS0yMCAxNjo0NzoxOS40NjgxMzMifQ==INSERT INTO `newsystem_orders` SET `newSystemOrderID`='gid://shopify/Order/5912957976756' ,`newSystemOrderNumber`='SRI#98905' ,`newSystemCustomerID`='gid://shopify/Customer/7381309358260' ,`shopify_recommendation`='LOW' ,`order_created`='2024-09-20 09:47:24' ,`newSystemCustomerEmail`='amccrayphotos@gmail.com' ,`order_completed`='2024-09-20 09:47:19' ,`currency`='USD' ,`order_total`='105.19' ,`order_subtotal`='99.0' ,`total_items`='1' ,`shipping_methods`='shopify' ,`total_shipping`='0.0' ,`payment_detail_title`='PayPal' ,`payment_detail_status`='PAID' ,`note`='' ,`taxAmount`='6.19' ,`coupon_code`='DRYPROFALL' ,`coupon_amount`='60.0' ,`internalPaymentType`='PayPal' ,`fullfillment_status`='FULFILLED' ,`shipping_country`='United States' ,`shopifyCursor`='eyJsYXN0X2lkIjo1OTEyOTU3OTc2NzU2LCJsYXN0X3ZhbHVlIjoiMjAyNC0wOS0yMCAxNjo0NzoxOS40NjgxMzMifQ==' ,`store`='SRI'
Array ( [newSystemOrderID] => gid://shopify/Order/5912957976756 [newSystemProductId] => gid://shopify/LineItem/14374855442612 [stockCode] => SRI-DryPro-Ver2-X1 [actualCIStockCode] => SRI-DryPro-Ver2-X1 [quantity] => 1 [unitPrice] => 159.00 [discountAmount] => 0.0 [store] => SRI ) INSERT INTO `newsystem_orders_product` SET `newSystemOrderID`='gid://shopify/Order/5912957976756' ,`newSystemProductId`='gid://shopify/LineItem/14374855442612' ,`stockCode`='SRI-DryPro-Ver2-X1' ,`actualCIStockCode`='SRI-DryPro-Ver2-X1' ,`quantity`='1' ,`unitPrice`='159.00' ,`discountAmount`='0.0' ,`store`='SRI'INSERT INTO `newsystem_order_delivery` SET `newSystemMemberID`='gid://shopify/Customer/7381309358260' ,`newSystemOrderID`='gid://shopify/Order/5912957976756' ,`deliveryFirstName`='Ashley' ,`deliveryLastName`='McCray' ,`deliveryPhone`='+16179576628' ,`deliveryStreet`='887 haverhill st ' ,`deliverySuburb`='' ,`deliveryPostCode`='01969' ,`deliveryCountry`='United States' ,`deliveryCity`='Rowley' ,`deliveryState`='Massachusetts' ,`store`='SRI'SRI#98906 processing
pceglinski@gmail.com processing
INSERT INTO `newsystem_customers` ( `newSystemMemberID`, `emailAddress`, `firstName`, `lastName`, `tradingName`, `homePhone`, `mobile`, `street`, `city`, `postCode`, `state`, `country`, `pending`, `middleEntryDate`) VALUES ( 'gid://shopify/Customer/7381320073396','pceglinski@gmail.com', 'Pamela', 'Ceglinski', '', '8318180972', '8318180972', '532 South Branciforte Avenue ', 'Santa Cruz','95062', 'California', 'United States', '1', '2026-06-17 10:09:46')
gid://shopify/Order/5912965644468Exported

New Cursor --eyJsYXN0X2lkIjo1OTEyOTY1NjQ0NDY4LCJsYXN0X3ZhbHVlIjoiMjAyNC0wOS0yMCAxNjo1Mjo0Ny4wNDU2NDQifQ==INSERT INTO `newsystem_orders` SET `newSystemOrderID`='gid://shopify/Order/5912965644468' ,`newSystemOrderNumber`='SRI#98906' ,`newSystemCustomerID`='gid://shopify/Customer/7381320073396' ,`shopify_recommendation`='LOW' ,`order_created`='2024-09-20 09:52:50' ,`newSystemCustomerEmail`='pceglinski@gmail.com' ,`order_completed`='2024-09-20 09:52:47' ,`currency`='USD' ,`order_total`='251.83' ,`order_subtotal`='229.99' ,`total_items`='1' ,`shipping_methods`='shopify' ,`total_shipping`='0.0' ,`payment_detail_title`='Shopify_Payments' ,`payment_detail_status`='PAID' ,`note`='' ,`taxAmount`='21.84' ,`coupon_code`='DRYQFALL' ,`coupon_amount`='70.0' ,`internalPaymentType`='Shopify_Payments' ,`fullfillment_status`='FULFILLED' ,`shipping_country`='United States' ,`shopifyCursor`='eyJsYXN0X2lkIjo1OTEyOTY1NjQ0NDY4LCJsYXN0X3ZhbHVlIjoiMjAyNC0wOS0yMCAxNjo1Mjo0Ny4wNDU2NDQifQ==' ,`store`='SRI'
Array ( [newSystemOrderID] => gid://shopify/Order/5912965644468 [newSystemProductId] => gid://shopify/LineItem/14374869958836 [stockCode] => SRI-DryQ-Ver2 [actualCIStockCode] => SRI-DryQ-Ver2 [quantity] => 1 [unitPrice] => 299.99 [discountAmount] => 0.0 [store] => SRI ) INSERT INTO `newsystem_orders_product` SET `newSystemOrderID`='gid://shopify/Order/5912965644468' ,`newSystemProductId`='gid://shopify/LineItem/14374869958836' ,`stockCode`='SRI-DryQ-Ver2' ,`actualCIStockCode`='SRI-DryQ-Ver2' ,`quantity`='1' ,`unitPrice`='299.99' ,`discountAmount`='0.0' ,`store`='SRI'INSERT INTO `newsystem_order_delivery` SET `newSystemMemberID`='gid://shopify/Customer/7381320073396' ,`newSystemOrderID`='gid://shopify/Order/5912965644468' ,`deliveryFirstName`='Pamela' ,`deliveryLastName`='Ceglinski' ,`deliveryPhone`='8318180972' ,`deliveryStreet`='532 South Branciforte Avenue ' ,`deliverySuburb`='' ,`deliveryPostCode`='95062' ,`deliveryCountry`='United States' ,`deliveryCity`='Santa Cruz' ,`deliveryState`='California' ,`store`='SRI'SRI#98907 processing
wenschmidt@gmail.com processing
UPDATE `newsystem_customers` SET `emailAddress`='wenschmidt@gmail.com', `firstName`='Wendy', `lastName`='Schmidt', `tradingName`='', `homePhone`='+16508544422', `mobile`='+16508544422', `street`= '650 Ashley Rd ', `city`='Montecito', `postCode`='93108', `state`='California', `country`='United States', `pending`='1', `middleEntryDate`='2026-06-17 10:09:46' where `newSystemMemberID`='gid://shopify/Customer/6620793274548'
gid://shopify/Order/5912972296372Exported

New Cursor --eyJsYXN0X2lkIjo1OTEyOTcyMjk2MzcyLCJsYXN0X3ZhbHVlIjoiMjAyNC0wOS0yMCAxNjo1NzoxMS4yMTgyMzYifQ==INSERT INTO `newsystem_orders` SET `newSystemOrderID`='gid://shopify/Order/5912972296372' ,`newSystemOrderNumber`='SRI#98907' ,`newSystemCustomerID`='gid://shopify/Customer/6620793274548' ,`shopify_recommendation`='LOW' ,`order_created`='2024-09-20 09:57:14' ,`newSystemCustomerEmail`='wenschmidt@gmail.com' ,`order_completed`='2024-09-20 09:57:11' ,`currency`='USD' ,`order_total`='247.81' ,`order_subtotal`='229.99' ,`total_items`='1' ,`shipping_methods`='shopify' ,`total_shipping`='0.0' ,`payment_detail_title`='PayPal' ,`payment_detail_status`='PAID' ,`note`='' ,`taxAmount`='17.82' ,`coupon_code`='DRYQFALL' ,`coupon_amount`='70.0' ,`internalPaymentType`='PayPal' ,`fullfillment_status`='FULFILLED' ,`shipping_country`='United States' ,`shopifyCursor`='eyJsYXN0X2lkIjo1OTEyOTcyMjk2MzcyLCJsYXN0X3ZhbHVlIjoiMjAyNC0wOS0yMCAxNjo1NzoxMS4yMTgyMzYifQ==' ,`store`='SRI'
Array ( [newSystemOrderID] => gid://shopify/Order/5912972296372 [newSystemProductId] => gid://shopify/LineItem/14374884704436 [stockCode] => SRI-DryQ-Ver2 [actualCIStockCode] => SRI-DryQ-Ver2 [quantity] => 1 [unitPrice] => 299.99 [discountAmount] => 0.0 [store] => SRI ) INSERT INTO `newsystem_orders_product` SET `newSystemOrderID`='gid://shopify/Order/5912972296372' ,`newSystemProductId`='gid://shopify/LineItem/14374884704436' ,`stockCode`='SRI-DryQ-Ver2' ,`actualCIStockCode`='SRI-DryQ-Ver2' ,`quantity`='1' ,`unitPrice`='299.99' ,`discountAmount`='0.0' ,`store`='SRI'INSERT INTO `newsystem_order_delivery` SET `newSystemMemberID`='gid://shopify/Customer/6620793274548' ,`newSystemOrderID`='gid://shopify/Order/5912972296372' ,`deliveryFirstName`='Wendy' ,`deliveryLastName`='Schmidt' ,`deliveryPhone`='+16508544422' ,`deliveryStreet`='650 Ashley Rd ' ,`deliverySuburb`='' ,`deliveryPostCode`='93108' ,`deliveryCountry`='United States' ,`deliveryCity`='Montecito' ,`deliveryState`='California' ,`store`='SRI'